1
0
mirror of https://passt.top/passt synced 2024-12-22 13:45:32 +00:00

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;
} pci_devs[] = {
{ "pc-q35", "virtio-net-pci",
"bus=pci.", ",addr=0x0", 3, 16 },
"bus=pci.", ",addr=0x0", 1, 16 },
{ "pc-", "virtio-net-pci",
"bus=pci.0,addr=0x", "", 2, /* 1: ISA bridge */ 16 },
{ "s390-ccw", "virtio-net-ccw",