qemu-patch-raspberry4/io
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
..
channel-buffer.c
channel-command.c
channel-file.c util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
channel-socket.c
channel-tls.c
channel-util.c
channel-watch.c
channel-websock.c
channel.c
dns-resolver.c qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00
meson.build
net-listener.c qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00
task.c
trace-events
trace.h