qmp: hide "hotplugged" device property from device-list-properties
The "hotplugged" device property was not reported before commitf4eb32b590
("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> (cherry picked from commit4115dd6527
) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
This commit is contained in:
parent
541bbb07eb
commit
42f7a13178
1
qmp.c
1
qmp.c
|
@ -509,6 +509,7 @@ DevicePropertyInfoList *qmp_device_list_properties(const char *typename,
|
||||||
if (strcmp(prop->name, "type") == 0 ||
|
if (strcmp(prop->name, "type") == 0 ||
|
||||||
strcmp(prop->name, "realized") == 0 ||
|
strcmp(prop->name, "realized") == 0 ||
|
||||||
strcmp(prop->name, "hotpluggable") == 0 ||
|
strcmp(prop->name, "hotpluggable") == 0 ||
|
||||||
|
strcmp(prop->name, "hotplugged") == 0 ||
|
||||||
strcmp(prop->name, "parent_bus") == 0) {
|
strcmp(prop->name, "parent_bus") == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue