mirror of
https://passt.top/passt
synced 2025-03-20 07:58:53 +00:00
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>
This commit is contained in:
parent
16f19c87f5
commit
8828a637ba
5
qrap.c
5
qrap.c
@ -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 },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user