qemu/backends
Igor Mammedov e1ff3c67e8 monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends
Considering 'id' is mandatory for user_creatable objects/backends
and user_creatable_add_type() always has it as an argument
regardless of where from it is called CLI/monitor or QMP,
Fix issue by adding 'id' property to hostmem backends and
set it in user_creatable_add_type() for every object that
implements 'id' property. Then later at query-memdev time
get 'id' from object directly.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1484052795-158195-4-git-send-email-imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-01-12 15:35:06 -02:00
..
baum.c console: move window ID code from baum to sdl 2017-01-10 08:14:20 +01:00
cryptodev-builtin.c cryptodev: wrap the ready flag 2017-01-10 07:02:52 +02:00
cryptodev.c cryptodev: wrap the ready flag 2017-01-10 07:02:52 +02:00
hostmem-file.c
hostmem-ram.c
hostmem.c monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends 2017-01-12 15:35:06 -02:00
Makefile.objs cryptodev: introduce a new cryptodev backend 2016-10-30 20:06:22 +02:00
msmouse.c char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
rng-egd.c
rng-random.c
rng.c
testdev.c char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
tpm.c