qrap: Lowest usable PCI bus number for pc-q35 is actually 1

...3 was a left-over from a test.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2021-05-12 16:20:56 +02:00
parent 5307faa059
commit 8358400b3f

2
qrap.c
View file

@ -62,7 +62,7 @@ static const struct pci_dev {
int last; int last;
} pci_devs[] = { } pci_devs[] = {
{ "pc-q35", "virtio-net-pci", { "pc-q35", "virtio-net-pci",
"bus=pci.", ",addr=0x0", 3, 16 }, "bus=pci.", ",addr=0x0", 1, 16 },
{ "pc-", "virtio-net-pci", { "pc-", "virtio-net-pci",
"bus=pci.0,addr=0x", "", 2, /* 1: ISA bridge */ 16 }, "bus=pci.0,addr=0x", "", 2, /* 1: ISA bridge */ 16 },
{ "s390-ccw", "virtio-net-ccw", { "s390-ccw", "virtio-net-ccw",