[libvirt] [PATCH 09/12] virpcimock: Don't create "pci-stub" driver

Michal Privoznik mprivozn at redhat.com
Tue Aug 20 14:30:29 UTC 2019


Now that nothing supports "pci-stub" driver (aka KVM style of PCI
device assignment) there is no need for virpcimock to create it.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 tests/virpcimock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/virpcimock.c b/tests/virpcimock.c
index c0dcd377d5..bbec77975a 100644
--- a/tests/virpcimock.c
+++ b/tests/virpcimock.c
@@ -992,7 +992,6 @@ init_env(void)
 
     MAKE_PCI_DRIVER("iwlwifi", 0x8086, 0x0044);
     MAKE_PCI_DRIVER("i915", 0x8086, 0x0046, 0x8086, 0x0047);
-    MAKE_PCI_DRIVER("pci-stub", -1, -1);
     pci_driver_new("vfio-pci", PCI_ACTION_BIND, -1, -1);
 
 # define MAKE_PCI_DEVICE(Id, Vendor, Device, ...) \
-- 
2.21.0




More information about the libvir-list mailing list