[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/3] vhost-user: update the protocol.
From: |
Linhaifeng |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/3] vhost-user: update the protocol. |
Date: |
Sun, 15 Feb 2015 09:28:58 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
On 2015/2/15 5:03, Michael S. Tsirkin wrote:
> On Fri, Feb 13, 2015 at 09:45:37PM +0800, linhaifeng wrote:
>> @@ -35,7 +39,7 @@ consists of 3 header fields and a payload:
>>
>> * Request: 32-bit type of the request
>> * Flags: 32-bit bit field:
>> - - Lower 2 bits are the version (currently 0x01)
>> + - Lower 2 bits are the version (currently 0x06)
>> - Bit 2 is the reply flag - needs to be sent on each reply from the slave
>> * Size - 32-bit size of the payload
>>
>
> How do you encode 0x6 in a 2 bit field?
>
I think the reply flag is unnecessary,so i remove it and let all the field as
version.
The existing version is 0x5 now.
Sorry, i need to update the vhost-user.txt to describe it.
--
Regards,
Haifeng