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

Daniel Henrique Barboza danielhb413 at gmail.com
Tue Aug 20 17:47:02 UTC 2019



On 8/20/19 11:30 AM, Michal Privoznik wrote:
> 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>
> ---

Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
Tested-by: Daniel Henrique Barboza <danielhb413 at gmail.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, ...) \




More information about the libvir-list mailing list