qemu/backends
Eduardo Habkost c734cd40a1 qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE
The requirement to specify the parent class type makes the macro
harder to use and easy to misuse (silent bugs can be introduced
if the wrong struct type is specified).

Simplify the macro by just not declaring any class struct,
allowing us to remove the class_size field from the TypeInfo
variables for those types.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200916182519.415636-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-18 14:12:32 -04:00
..
tpm util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
cryptodev-builtin.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cryptodev-vhost-user.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cryptodev-vhost.c cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
cryptodev.c error: Eliminate error_propagate() with Coccinelle, part 1 2020-07-10 15:18:08 +02:00
dbus-vmstate.c qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00
hostmem-file.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
hostmem-memfd.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
hostmem-ram.c machine: alias -mem-path and -mem-prealloc into memory-foo backend 2020-02-19 16:49:53 +00:00
hostmem.c qom: Change object_get_canonical_path_component() not to malloc 2020-07-21 16:23:43 +02:00
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build meson: convert backends directory to Meson 2020-08-21 06:30:23 -04:00
rng-builtin.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
rng-egd.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
rng-random.c util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
rng.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
trace-events Add dbus-vmstate object 2020-01-06 18:41:32 +04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-user.c qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00