aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev-monitor.c
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2012-08-14 14:41:28 +0300
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-15 15:37:08 +0100
commitc3594ed73e0a7e7feae309be79f0eb6bafcc02ab (patch)
treef5d18a18b09c79b36b3790710f5a8a1212fe91f1 /hw/qdev-monitor.c
parentbb9558679ffaae062ea26ef97d2273b148e9c515 (diff)
downloadqemu-c3594ed73e0a7e7feae309be79f0eb6bafcc02ab.zip
qemu-c3594ed73e0a7e7feae309be79f0eb6bafcc02ab.tar.gz
qemu-c3594ed73e0a7e7feae309be79f0eb6bafcc02ab.tar.bz2
ivshmem, qdev-monitor: fix order of qerror parameters
Now that the QERR_ macros no longer contain a json dictionary, the order of some parameters needs to be fixed for them to appear correctly. Signed-off-by: Alberto Garcia <agarcia@igalia.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/qdev-monitor.c')
-rw-r--r--hw/qdev-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c
index b22a37a..018b386 100644
--- a/hw/qdev-monitor.c
+++ b/hw/qdev-monitor.c
@@ -443,7 +443,7 @@ DeviceState *qdev_device_add(QemuOpts *opts)
bus = qbus_find_recursive(sysbus_get_default(), NULL, k->bus_type);
if (!bus) {
qerror_report(QERR_NO_BUS_FOR_DEVICE,
- driver, k->bus_type);
+ k->bus_type, driver);
return NULL;
}
}