[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.7 v5.1 1/2] vhost-user: Introduce a new pr
Re: [Qemu-devel] [PATCH for-2.7 v5.1 1/2] vhost-user: Introduce a new protocol feature REPLY_ACK.
Fri, 29 Jul 2016 14:49:07 -0600
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
On 07/28/2016 01:07 AM, Prerna Saxena wrote:
> From: Prerna Saxena <address@hidden>
> This introduces the VHOST_USER_PROTOCOL_F_REPLY_ACK.
> +With this protocol extension negotiated, the sender (QEMU) can set the
> +"need_reply" [Bit 3] flag to any command. This indicates that
> +the client MUST respond with a Payload VhostUserMsg indicating success or
> +failure. The payload should be set to zero on success or non-zero on failure.
> +(Unless the message already has an explicit reply body)
Rather than make this parenthetical, I would go with:
The payload should be set to zero on success or non-zero on failure,
unless the message already has an explicit reply body.
> +This indicates to QEMU that the requested operation has deterministically
> +been met or not. Today, QEMU is expected to terminate the main vhost-user
Reads awkwardly; maybe:
The response payload gives QEMU a deterministic indication of the result
of the command.
> +loop upon receiving such errors. In future, qemu could be taught to be more
> +resilient for selective requests.
> +For the message types that already solicit a reply from the client, the
> +presence of VHOST_USER_PROTOCOL_F_REPLY_ACK or need_reply bit being set
> +no behaviourial change. (See the 'Communication' section for details.)
s/behaviourial/behavioural/ (or if the document widely favors US
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Description: OpenPGP digital signature
[Qemu-devel] [PATCH for-2.7 v5.1 2/2] vhost-user: Attempt to fix a race with set_mem_table., Prerna Saxena, 2016/07/28