aboutsummaryrefslogtreecommitdiff
path: root/tests/virtio-serial-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/virtio-serial-test.c')
-rw-r--r--tests/virtio-serial-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/virtio-serial-test.c b/tests/virtio-serial-test.c
index 7cc7060264..e4b18b1c8a 100644
--- a/tests/virtio-serial-test.c
+++ b/tests/virtio-serial-test.c
@@ -18,7 +18,7 @@ static void virtio_serial_nop(void)
static void hotplug(void)
{
- qtest_qmp_device_add("virtserialport", "hp-port", NULL);
+ qtest_qmp_device_add("virtserialport", "hp-port", "{}");
qtest_qmp_device_del("hp-port");
}