qemu-e2k/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-file: Register TYPE_MEMORY_BACKEND_FILE properties as class properties 2016-10-17 15:48:40 -02:00
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 char: remove explicit_fe_open, use a set_handlers argument 2016-10-24 15:46:10 +02:00
rng-random.c rng-random: rename RndRandom to RngRandom 2016-05-23 12:18:43 +05:30
rng.c
testdev.c char: remove explicit_be_open from CharDriverState 2016-10-24 15:46:11 +02:00
tpm.c