Skip to content

RFC virtio-pci,kvm tools: Support new virtio-pci spec in kvm tools

Sasha Levin kvm lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virtio-pci: flexible configuration layoutdrivers/virtio/virtio_pci.c include/asm-generic/io.h include/asm-generic/iomap.h +3 more+265 -192 replies
2/5virtio-pci: Fix compilation issuedrivers/virtio/virtio_pci.c+3 -30 replies
3/5iomap: Don't ignore offsetlib/iomap.c+1 -00 replies
4/5kvm tools: Free up the MSI-X PBA BARtools/kvm/include/kvm/virtio-pci.h tools/kvm/virtio/pci.c+14 -220 replies
5/5kvm tools: Support new virtio-pci configuration layouttools/kvm/include/kvm/pci.h tools/kvm/include/kvm/virtio-pci.h tools/kvm/virtio/pci.c+254 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/5] virtio-pci,kvm tools: Support new virtio-pci spec in kvm tools

This patch series contains two fixes for the RFC patch send by Michael. These patches are pretty basic and should probably be merged into the next version of that patch.

Other two patches add support to the new virtio-pci spec in KVM tools, allowing for easy testing of any future virtio-pci kernel side patches. The usermode code isn't complete, but it's working properly and should be enough for functionality testing.

Michael S. Tsirkin (1):
virtio-pci: flexible configuration layout

Sasha Levin (4):
virtio-pci: Fix compilation issue
iomap: Don't ignore offset
kvm tools: Free up the MSI-X PBA BAR
kvm tools: Support new virtio-pci configuration layout

 drivers/virtio/virtio_pci.c        |  184 ++++++++++++++++++++++--
 include/asm-generic/io.h           |    4 +
 include/asm-generic/iomap.h        |   11 ++
 include/linux/pci_regs.h           |    4 +
 include/linux/virtio_pci.h         |   41 ++++++
 lib/iomap.c                        |   41 +++++-
 tools/kvm/include/kvm/pci.h        |   13 ++-
 tools/kvm/include/kvm/virtio-pci.h |    5 +-
 tools/kvm/virtio/pci.c             |  275 ++++++++++++++++++++++++++++++++----
 9 files changed, 530 insertions(+), 48 deletions(-)
Signature · 1 line
1.7.8.rc1