diff --git a/xen/drivers/passthrough/pci.c b/xen/drivers/passthrough/pci.c index 4d06e5d3f9..80e06c0a78 100644 --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -766,6 +766,7 @@ int pci_add_device(u16 seg, u8 bus, u8 devfn, printk(XENLOG_WARNING "SR-IOV device %pp with vf BAR%u in IO space\n", &pdev->sbdf, i); + ++i; continue; } ret = pci_size_mem_bar(pdev->sbdf, idx, NULL,