From: Eric Blake <eblake@redhat.com>
To: Prerna Saxena <saxenap.ltc@gmail.com>, qemu-devel@nongnu.org
Cc: Prerna Saxena <prerna.saxena@nutanix.com>,
anilkumar.boggarapu@nutanix.com, felipe@nutanix.com,
marcandre.lureau@gmail.com, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH for-2.7 v5.1 1/2] vhost-user: Introduce a new protocol feature REPLY_ACK.
Date: Fri, 29 Jul 2016 14:49:07 -0600 [thread overview]
Message-ID: <579BC143.4090203@redhat.com> (raw)
In-Reply-To: <1469689643-11556-2-git-send-email-saxenap.ltc@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]
On 07/28/2016 01:07 AM, Prerna Saxena wrote:
> From: Prerna Saxena <prerna.saxena@nutanix.com>
>
> 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 brings
> +no behaviourial change. (See the 'Communication' section for details.)
s/behaviourial/behavioural/ (or if the document widely favors US
spelling, behavioral)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2016-07-29 20:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 7:07 [Qemu-devel] [PATCH for-2.7 v5.1 0/2] vhost-user: Extend protocol to receive replies on any command Prerna Saxena
2016-07-28 7:07 ` [Qemu-devel] [PATCH for-2.7 v5.1 1/2] vhost-user: Introduce a new protocol feature REPLY_ACK Prerna Saxena
2016-07-29 12:47 ` Marc-André Lureau
2016-07-29 15:31 ` Felipe Franciosi
2016-07-29 20:42 ` Eric Blake
2016-07-30 9:38 ` Felipe Franciosi
2016-07-29 20:49 ` Eric Blake [this message]
2016-07-30 6:38 ` Prerna Saxena
2016-08-04 4:11 ` Michael S. Tsirkin
2016-08-05 14:53 ` Prerna Saxena
2016-07-28 7:07 ` [Qemu-devel] [PATCH for-2.7 v5.1 2/2] vhost-user: Attempt to fix a race with set_mem_table Prerna Saxena
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=579BC143.4090203@redhat.com \
--to=eblake@redhat.com \
--cc=anilkumar.boggarapu@nutanix.com \
--cc=felipe@nutanix.com \
--cc=marcandre.lureau@gmail.com \
--cc=mst@redhat.com \
--cc=prerna.saxena@nutanix.com \
--cc=qemu-devel@nongnu.org \
--cc=saxenap.ltc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.