diff options
author | Andrea Bolognani <abologna@redhat.com> | 2023-02-24 19:49:47 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-27 18:56:22 +0100 |
commit | 8828a637ba5e58e3685594773206935a3bce9892 (patch) | |
tree | 69a0ffb2d42dffe4ab5ecf44cb5708e73cf3d758 | |
parent | 16f19c87f565f3ac9fbd86eae3e5f6b0bf6482b9 (diff) | |
download | passt-8828a637ba5e58e3685594773206935a3bce9892.tar passt-8828a637ba5e58e3685594773206935a3bce9892.tar.gz passt-8828a637ba5e58e3685594773206935a3bce9892.tar.bz2 passt-8828a637ba5e58e3685594773206935a3bce9892.tar.lz passt-8828a637ba5e58e3685594773206935a3bce9892.tar.xz passt-8828a637ba5e58e3685594773206935a3bce9892.tar.zst passt-8828a637ba5e58e3685594773206935a3bce9892.zip |
qrap: Drop args in JSON format
When JSON support was introduced, the drop_args array has
not been updated accordingly.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -57,10 +57,15 @@ static const struct drop_arg { { "-netdev", NULL }, { "-net", NULL }, { "-device", "virtio-net-pci," }, + { "-device", "{\"driver\":\"virtio-net-pci\"," }, { "-device", "virtio-net-ccw," }, + { "-device", "{\"driver\":\"virtio-net-ccw\"," }, { "-device", "e1000," }, + { "-device", "{\"driver\":\"e1000\"," }, { "-device", "e1000e," }, + { "-device", "{\"driver\":\"e1000e\"," }, { "-device", "rtl8139," }, + { "-device", "{\"driver\":\"rtl8139\"," }, { 0 }, }; |