qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: thibaut.collet@6wind.com, fbl@redhat.com,
	marcandre.lureau@gmail.com, haifeng.lin@huawei.com,
	changchun.ouyang@intel.com
Subject: [Qemu-devel] [PATCH 0/4] vhost-user: protocol updates
Date: Fri, 17 Jul 2015 17:09:26 +0300	[thread overview]
Message-ID: <1437142095-20217-1-git-send-email-mst@redhat.com> (raw)

This patchset sets the stage for extending the vhost user
protocol, with full backwards compatibility.

The approach is to negotiate feature bits queried and
acknowledged during device setup.

For now, there's no new functionality: two new messages
are added that will allow negotiating new messages
required for functionality such as MQ and migration.

For now, I used the feature bit 30 to signal support for these new messages,
and we now have 64 more bits to play.

The patches can be found in my tree, branch vhost-user.

Only patch 1 is intended for 2.4.

Posting early so people working on extensions such as
migration can review this - but please note
the protocol is not set in stone yet.

Michael S. Tsirkin (4):
  Revert "vhost-user: add multi queue support"
  vhost-user: refactor ioctl translation
  vhost-user: add protocol feature negotiation
  vhost-user: unit test for new messages

 qapi-schema.json          |   6 +-
 include/hw/virtio/vhost.h |   1 +
 hw/net/vhost_net.c        |   5 +-
 hw/virtio/vhost-user.c    | 150 ++++++++++++++++++++++++++++++----------------
 net/vhost-user.c          |  37 ++++--------
 tests/vhost-user-test.c   |  19 ++++++
 docs/specs/vhost-user.txt |  40 +++++++++++--
 qemu-options.hx           |   5 +-
 8 files changed, 174 insertions(+), 89 deletions(-)

-- 
MST

             reply	other threads:[~2015-07-17 14:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 14:09 Michael S. Tsirkin [this message]
2015-07-17 14:09 ` [Qemu-devel] [PATCH 1/4] Revert "vhost-user: add multi queue support" Michael S. Tsirkin
2015-07-17 14:16   ` [Qemu-devel] [PATCH for-2.4 " Eric Blake
2015-07-17 14:09 ` [Qemu-devel] [PATCH 2/4] vhost-user: refactor ioctl translation Michael S. Tsirkin
2015-07-17 14:09 ` [Qemu-devel] [PATCH 3/4] vhost-user: add protocol feature negotiation Michael S. Tsirkin
2015-07-17 18:14   ` Flavio Leitner
2015-07-22 17:53   ` Marc-André Lureau
2015-07-17 14:09 ` [Qemu-devel] [PATCH 4/4] vhost-user: unit test for new messages Michael S. Tsirkin
2015-07-23  7:14   ` Ouyang, Changchun
2015-07-17 16:05 ` [Qemu-devel] [PATCH 0/4] vhost-user: protocol updates Maxime Leroy
2015-07-17 18:15 ` Flavio Leitner
2015-07-24 15:30 ` Thibaut Collet

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=1437142095-20217-1-git-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=changchun.ouyang@intel.com \
    --cc=fbl@redhat.com \
    --cc=haifeng.lin@huawei.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thibaut.collet@6wind.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).