[fedora-virt] [PATCH 00/24] qemu-kvm: backport vhost net from upstream
Michael S. Tsirkin
mst at redhat.com
Sun Feb 7 22:15:50 UTC 2010
The following patchset backports vhost net support
from qemu-kvm master to F13. I'd like the patches to
be added to fedora before feature freeze.
These patches are required for vhost net feature. Feature page here:
https://fedoraproject.org/wiki/Features/VHostNet
The patches have been posted upstream, and apply without changes. Most
infrastructure is upstream already, and has been backported by simple
cherry-pick.
Thanks!
Michael S. Tsirkin (24):
net: add API to disable/enable polling
virtio: rename features -> guest_features
qdev: add bit property type
qdev: fix thinko leading to guest crashes
virtio: add features as qdev properties
virtio-net: mac property is mandatory
exec: memory notifiers
kvm: add API to set ioeventfd
notifier: event notifier implementation
virtio: add notifier support
virtio: add APIs for queue fields
virtio: add status change callback
virtio: move typedef to qemu-common
virtio-pci: fill in notifier support
tap: add interface to get device fd
vhost: vhost net support
tap: add vhost/vhostfd options
tap: add API to retrieve vhost net header
virtio-net: vhost net support
qemu-kvm: add vhost.h header
kvm: irqfd support
msix: add mask/unmask notifiers
virtio-pci: irqfd support
virtio: avoid crash with non-tap backends
Makefile.target | 2 +
cpu-common.h | 19 ++
exec.c | 114 +++++++++-
hw/msix.c | 36 +++-
hw/msix.h | 1 +
hw/notifier.c | 50 ++++
hw/notifier.h | 16 ++
hw/pci.h | 6 +
hw/qdev-properties.c | 62 ++++-
hw/qdev.h | 11 +
hw/s390-virtio-bus.c | 17 +-
hw/s390-virtio-bus.h | 1 +
hw/syborg_virtio.c | 19 +-
hw/vhost.c | 603 +++++++++++++++++++++++++++++++++++++++++++++
hw/vhost.h | 44 ++++
hw/vhost_net.c | 147 +++++++++++
hw/vhost_net.h | 20 ++
hw/virtio-balloon.c | 4 +-
hw/virtio-blk.c | 6 +-
hw/virtio-blk.h | 8 +
hw/virtio-console.c | 4 +-
hw/virtio-net.c | 122 +++++++---
hw/virtio-net.h | 19 ++
hw/virtio-pci.c | 124 +++++++++-
hw/virtio.c | 62 +++++-
hw/virtio.h | 22 ++-
kvm-all.c | 39 +++
kvm.h | 26 ++
kvm/include/linux/vhost.h | 130 ++++++++++
net.c | 8 +
net.h | 3 +
net/tap.c | 51 ++++
net/tap.h | 5 +
qemu-common.h | 2 +
qemu-options.hx | 4 +-
35 files changed, 1726 insertions(+), 81 deletions(-)
create mode 100644 hw/notifier.c
create mode 100644 hw/notifier.h
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
create mode 100644 kvm/include/linux/vhost.h
More information about the virt
mailing list