diff options
author | Andrea Bolognani <abologna@redhat.com> | 2023-02-24 19:49:46 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-27 18:56:20 +0100 |
commit | 16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9 (patch) | |
tree | 1860b6351d8431462e5365db197a0e64d8a3aa8b | |
parent | 9cec4309c9c9885ce3bcaa473726db6243ec6fcc (diff) | |
download | passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar.gz passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar.bz2 passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar.lz passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar.xz passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.tar.zst passt-16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9.zip |
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>
-rw-r--r-- | qrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ static const struct pci_dev { { "pc-", "virtio-net-pci", "bus=pci.0,addr=0x", "", - "\"bus\":\"pci.0\",\"addr=0x", "", + "\"bus\":\"pci.0\",\"addr\":\"0x", "", 2, /* 1: ISA bridge */ 31 }, { |