mirror of https://github.com/proxmox/mirror_qemu
qmp: hide "hotplugged" device property from device-list-properties
The "hotplugged" device property was not reported before commit
f4eb32b590
("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>
master
parent
ef558696b5
commit
4115dd6527
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