qrap: Drop args in JSON format
When JSON support was introduced, the drop_args array has
not been updated accordingly.
Fixes: b944ca1855
("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
1 changed files with 5 additions and 0 deletions
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…
Reference in a new issue