[PATCH kvmtool v2 00/12] Virtio v1 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is version 2 of the modern virtio support for kvmtool.

Since v1 [1]:
* Repaired vhost-net for pci-modern, by adding patches 4 and 5
* Added patch 6 that extends the feature fields and simplifies modern
  features handling
* Added patch 12, a small cleanup

Since vsock and scsi devices have been broken for a while, this series
doesn't attempt to make them work but I have another series [2] to fix
the vhost support, that I will send later.

[1] https://lore.kernel.org/kvm/20220607170239.120084-1-jean-philippe.brucker@xxxxxxx/
[2] https://jpbrucker.net/git/kvmtool/log/?h=virtio/devel

Jean-Philippe Brucker (12):
  virtio/pci: Delete MSI routes
  virtio: Extract init_vq() for PCI and MMIO
  virtio/pci: Make doorbell offset dynamic
  virtio/pci: Use the correct eventfd for vhost notification
  virtio/net: Set vhost backend after queue address
  virtio: Prepare for more feature bits
  virtio: Move PCI transport to pci-legacy
  virtio: Add support for modern virtio-pci
  virtio: Move MMIO transport to mmio-legacy
  virtio: Add support for modern virtio-mmio
  virtio/pci: Initialize all vectors to VIRTIO_MSI_NO_VECTOR
  virtio/pci: Remove VIRTIO_PCI_F_SIGNAL_MSI

 Makefile                          |   4 +
 arm/include/arm-common/kvm-arch.h |   6 +-
 include/kvm/kvm-config.h          |   1 +
 include/kvm/kvm.h                 |   6 +
 include/kvm/pci.h                 |  11 +
 include/kvm/virtio-mmio.h         |  29 ++-
 include/kvm/virtio-pci-dev.h      |   4 +
 include/kvm/virtio-pci.h          |  50 +++-
 include/kvm/virtio.h              |   8 +-
 mips/include/kvm/kvm-arch.h       |   2 -
 powerpc/include/kvm/kvm-arch.h    |   2 -
 riscv/include/kvm/kvm-arch.h      |   3 +-
 x86/include/kvm/kvm-arch.h        |   2 -
 builtin-run.c                     |   2 +
 virtio/9p.c                       |   2 +-
 virtio/balloon.c                  |   2 +-
 virtio/blk.c                      |   2 +-
 virtio/console.c                  |   2 +-
 virtio/core.c                     |  16 +-
 virtio/mmio-legacy.c              | 150 ++++++++++++
 virtio/mmio-modern.c              | 161 ++++++++++++
 virtio/mmio.c                     | 183 ++------------
 virtio/net.c                      |  15 +-
 virtio/pci-legacy.c               | 205 ++++++++++++++++
 virtio/pci-modern.c               | 390 ++++++++++++++++++++++++++++++
 virtio/pci.c                      | 317 +++++-------------------
 virtio/rng.c                      |   2 +-
 virtio/scsi.c                     |   2 +-
 virtio/vsock.c                    |   2 +-
 29 files changed, 1131 insertions(+), 450 deletions(-)
 create mode 100644 virtio/mmio-legacy.c
 create mode 100644 virtio/mmio-modern.c
 create mode 100644 virtio/pci-legacy.c
 create mode 100644 virtio/pci-modern.c

-- 
2.36.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux