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

Michal Privoznik posted 12 patches 6 years, 5 months ago
[libvirt] [PATCH 09/12] virpcimock: Don't create "pci-stub" driver
Posted by Michal Privoznik 6 years, 5 months ago
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@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 09/12] virpcimock: Don't create "pci-stub" driver
Posted by Daniel Henrique Barboza 6 years, 5 months ago

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@redhat.com>
> ---

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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 09/12] virpcimock: Don't create "pci-stub" driver
Posted by Ján Tomko 6 years, 5 months ago
On Tue, Aug 20, 2019 at 04:30:29PM +0200, 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@redhat.com>
>---
> tests/virpcimock.c | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list