mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 22:18:23 +00:00
qom: make interface types abstract
Interfaces don't have instance, let's make the interface type really abstract to avoid confusion. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20181204142023.15982-3-marcandre.lureau@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
committed by
Eduardo Habkost
parent
ef24052386
commit
aa1b35b975
@@ -16,10 +16,7 @@
|
||||
#define ARM_LINUX_BOOT_IF(obj) \
|
||||
INTERFACE_CHECK(ARMLinuxBootIf, (obj), TYPE_ARM_LINUX_BOOT_IF)
|
||||
|
||||
typedef struct ARMLinuxBootIf {
|
||||
/*< private >*/
|
||||
Object parent_obj;
|
||||
} ARMLinuxBootIf;
|
||||
typedef struct ARMLinuxBootIf ARMLinuxBootIf;
|
||||
|
||||
typedef struct ARMLinuxBootIfClass {
|
||||
/*< private >*/
|
||||
|
||||
Reference in New Issue
Block a user