qemu/include
Markus Armbruster a7c3181628 qobject: Clean up around qtype_code
QTYPE_NONE is a sentinel value.  No QObject has this type code.
Document it properly.

Fix dump_qobject() to abort() on QTYPE_NONE, just like for any other
invalid type code.

Fix to_json() to abort() on all invalid type codes, not just
QTYPE_MAX.

Clean up Property member qtype's type: it's a qtype_code.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-05-11 08:59:07 -04:00
..
block block: extract bdrv_setup_io_funcs() 2015-04-28 15:36:17 +02:00
disas
exec exec: move rcu_read_lock/unlock to address_space_translate callers 2015-04-30 16:55:32 +02:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw qobject: Clean up around qtype_code 2015-05-11 08:59:07 -04:00
libdecnumber Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
migration migration: Use an array instead of 3 parameters 2015-05-07 18:31:53 +02:00
monitor monitor: Remove unused functions 2015-04-30 16:05:48 +03:00
net virtio-net,tap: use standard-headers 2015-02-26 13:04:04 +01:00
qapi qobject: Clean up around qtype_code 2015-05-11 08:59:07 -04:00
qemu util: Remove unused functions 2015-04-30 16:05:48 +03:00
qom exec.c: Capture the memory attributes for a watchpoint hit 2015-04-26 16:49:24 +01:00
standard-headers linux-headers: update 2015-04-30 13:21:42 +02:00
sysemu kvm: add support for memory transaction attributes 2015-04-30 16:55:32 +02:00
ui gtk: create gtk.h 2015-05-06 08:38:05 +02:00
config.h
elf.h elf-loader: Provide the possibility to relocate s390 ELF files 2015-03-10 09:26:27 +01:00
glib-compat.h glib-compat: fix problems with not-quite glib 2.22 2015-04-02 16:53:42 +01:00
qemu-common.h util: Remove unused functions 2015-04-30 16:05:48 +03:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00