mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
memdev: remove "id" property
The "id" property is unnecessary and can be replaced simply with
object_get_canonical_path_component. This patch mostly undoes commit
e1ff3c67e8
("monitor: fix qmp/hmp query-memdev not reporting IDs of
memory backends", 2017-01-12).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
770dec2627
commit
29de4ec164
4 changed files with 1 additions and 34 deletions
|
@ -52,7 +52,6 @@ struct HostMemoryBackend {
|
|||
Object parent;
|
||||
|
||||
/* protected */
|
||||
char *id;
|
||||
uint64_t size;
|
||||
bool merge, dump;
|
||||
bool prealloc, force_prealloc, is_mapped, share;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue