mirror of
https://passt.top/passt
synced 2025-03-20 07:58:53 +00:00
qrap: Fix support for pc machines
The JSON version of the template is incorrect, making qrap completely unusable when JSON arguments are used together with the pc machine type. Fixes: b944ca185587 ("qrap: Support JSON syntax for -device") Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
9cec4309c9
commit
16f19c87f5
2
qrap.c
2
qrap.c
@ -94,7 +94,7 @@ static const struct pci_dev {
|
|||||||
{
|
{
|
||||||
"pc-", "virtio-net-pci",
|
"pc-", "virtio-net-pci",
|
||||||
"bus=pci.0,addr=0x", "",
|
"bus=pci.0,addr=0x", "",
|
||||||
"\"bus\":\"pci.0\",\"addr=0x", "",
|
"\"bus\":\"pci.0\",\"addr\":\"0x", "",
|
||||||
2, /* 1: ISA bridge */ 31
|
2, /* 1: ISA bridge */ 31
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user