aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2022-07-01 15:24:30 +0100
committerWill Deacon <will@kernel.org>2022-07-01 16:09:00 +0100
commitb0d56e3c994a0feb3ffb519cecda5c1f6da8b1ab (patch)
treedf803cb0f7c77b65d69153b28ecb80b0da82fa22 /Makefile
parent930876d51193a33f335dc4416999be07b0b03463 (diff)
downloadkvmtool-b0d56e3c994a0feb3ffb519cecda5c1f6da8b1ab.tar.gz
virtio: Add support for modern virtio-pci
Add support for modern virtio-pci implementation (based on the 1.0 virtio spec). We add a new transport, alongside MMIO and PCI-legacy. This is now the default when selecting PCI, but users can still select the legacy transport for all virtio devices by passing "--virtio-legacy" on the command-line. The main change in modern PCI is the way we address virtqueues, using 64-bit values instead of PFNs. To keep the queue configuration atomic the device also gets a "queue enable" register. Configuration is also made extensible by more feature bits and PCI capabilities. Scalability is improved as well, as devices can have notification registers for each virtqueue on separate pages. However this implementation keeps a single notification register. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Link: https://lore.kernel.org/r/20220701142434.75170-9-jean-philippe.brucker@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c7067ad..f8fc3495 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,7 @@ OBJS += virtio/balloon.o
OBJS += virtio/pci.o
OBJS += virtio/vsock.o
OBJS += virtio/pci-legacy.o
+OBJS += virtio/pci-modern.o
OBJS += disk/blk.o
OBJS += disk/qcow.o
OBJS += disk/raw.o