From 8828a637ba5e58e3685594773206935a3bce9892 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Fri, 24 Feb 2023 19:49:47 +0100 Subject: 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 Reviewed-by: David Gibson --- qrap.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qrap.c') diff --git a/qrap.c b/qrap.c index 5c18cec..3077944 100644 --- a/qrap.c +++ b/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 }, }; -- cgit v1.2.3