* [PATCHv2 0/3] virtio: add guest MSI-X support
@ 2009-05-07 14:08 Michael S. Tsirkin
0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2009-05-07 14:08 UTC (permalink / raw)
To: Christian Borntraeger
Cc: Rusty Russell, virtualization, Anthony Liguori, kvm, avi
Add optional MSI-X support: use a vector per virtqueue with
fallback to a common vector and finally to regular interrupt.
Teach all drivers to use it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
Here's a draft set of patches for MSI-X support in the guest. It still
needs to be tested properly, and performance impact measured, but I
thought I'd share it here in the hope of getting some very early
feedback/flames.
Changelog since v1:
- Per Avi's suggestion, let guest configure virtqueue to vector mapping
- Per Rusty's suggestion, replace API with find_vqs/del_vqs.
Michael S. Tsirkin (3):
virtio: find_vqs/del_vqs virtio operations
virtio_pci: split up vp_interrupt
virtio_pci: optional MSI-X support
drivers/block/virtio_blk.c | 11 +-
drivers/char/hw_random/virtio-rng.c | 11 +-
drivers/char/virtio_console.c | 27 ++--
drivers/lguest/lguest_device.c | 49 ++++++-
drivers/net/virtio_net.c | 47 +++----
drivers/s390/kvm/kvm_virtio.c | 64 ++++++++-
drivers/virtio/virtio_balloon.c | 31 ++--
drivers/virtio/virtio_pci.c | 283 ++++++++++++++++++++++++++++++-----
include/linux/virtio_config.h | 29 +++-
include/linux/virtio_pci.h | 8 +-
10 files changed, 440 insertions(+), 120 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-07 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07 14:08 [PATCHv2 0/3] virtio: add guest MSI-X support Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox