qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH-RFC 00/13] vhost-net: preview
Date: Mon, 11 Jan 2010 19:16:42 +0200	[thread overview]
Message-ID: <20100111171641.GA11936@redhat.com> (raw)

Here's an untested patchset with vhost support for upstream qemu.  Note
that you should not expect performance gains from vhost unless in-kernel
irqchip is enabled (which is not in upstream qemu now).  Since adding
vhost involves quite a bit of infrastructure, I thought it makes sense
to send an RFC already, so that interested parties can review it.  In
particular, command line and help text need to be finalized early to so
that management can start looking on supporting the feature. This patch
has all bits besides migration filled in. Also missing is packet socket
backend: another team is now working on this.


Michael S. Tsirkin (13):
  virtio: export virtqueue structure
  kvm: add API to set ioeventfd
  virtio: add iofd/irqfd support
  virtio-pci: fill in irqfd/queufd support
  syborg_virtio: add irqfd/eventfd support
  s390-virtio: fill in irqfd support
  virtio: move typedef to qemu-common
  net/tap: add interface to get device fd
  tap: add vhost/vhostfd options
  tap: add API to retrieve vhost net header
  vhost net support
  virtio: add status change callback
  virtio-net: connect to vhost net backend

 Makefile.target      |    1 +
 hw/s390-virtio-bus.c |   19 +++
 hw/syborg_virtio.c   |   27 ++++
 hw/vhost.c           |  349 ++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/vhost.h           |   33 +++++
 hw/vhost_net.c       |  145 +++++++++++++++++++++
 hw/vhost_net.h       |   20 +++
 hw/virtio-net.c      |   40 ++++++
 hw/virtio-pci.c      |   32 +++++
 hw/virtio.c          |   31 ++---
 hw/virtio.h          |   23 +++-
 kvm-all.c            |   24 ++++
 kvm.h                |    3 +
 net.c                |    8 +
 net/tap.c            |   43 ++++++
 net/tap.h            |    5 +
 qemu-common.h        |    1 +
 qemu-options.hx      |    4 +-
 18 files changed, 785 insertions(+), 23 deletions(-)
 create mode 100644 hw/vhost.c
 create mode 100644 hw/vhost.h
 create mode 100644 hw/vhost_net.c
 create mode 100644 hw/vhost_net.h

             reply	other threads:[~2010-01-11 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 17:16 Michael S. Tsirkin [this message]
2010-01-11 20:09 ` [Qemu-devel] [PATCH-RFC 00/13] vhost-net: preview Daniel P. Berrange
2010-01-11 20:15   ` Michael S. Tsirkin

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=20100111171641.GA11936@redhat.com \
    --to=mst@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /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).