Skip to content

Commit

Permalink
qmp: hide "hotplugged" device property from device-list-properties
Browse files Browse the repository at this point in the history
The "hotplugged" device property was not reported before commit
f4eb32b ("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>
  • Loading branch information
stefanhaRH authored and kevmw committed Aug 15, 2014
1 parent ef55869 commit 4115dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qmp.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4115dd6

Please sign in to comment.