summaryrefslogtreecommitdiffstats
path: root/qmp.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-07-09 14:01:31 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-15 15:07:13 +0200
commit4115dd6527fbdf49dbd1eba24ad68e0fae1e305a (patch)
tree15f5588a339b9057ed7c5caf3b619e5a77aaf2e1 /qmp.c
parentef558696b5c688a8a3bef4ab8f6b27937cc24c89 (diff)
downloadhqemu-4115dd6527fbdf49dbd1eba24ad68e0fae1e305a.zip
hqemu-4115dd6527fbdf49dbd1eba24ad68e0fae1e305a.tar.gz
qmp: hide "hotplugged" device property from device-list-properties
The "hotplugged" device property was not reported before commit f4eb32b590bf58c1c67570775eb78beb09964fad ("qmp: show QOM properties in device-list-properties"). Fix this difference. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qmp.c')
-rw-r--r--qmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmp.c b/qmp.c
index 0d2553a..c6767c4 100644
--- a/qmp.c
+++ b/qmp.c
@@ -509,6 +509,7 @@ DevicePropertyInfoList *qmp_device_list_properties(const char *typename,
if (strcmp(prop->name, "type") == 0 ||
strcmp(prop->name, "realized") == 0 ||
strcmp(prop->name, "hotpluggable") == 0 ||
+ strcmp(prop->name, "hotplugged") == 0 ||
strcmp(prop->name, "parent_bus") == 0) {
continue;
}
OpenPOWER on IntegriCloud