mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06: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:
parent
ef24052386
commit
aa1b35b975
15 changed files with 14 additions and 53 deletions
|
@ -25,11 +25,7 @@ typedef enum {
|
|||
INTERFACE_CHECK(AcpiDeviceIf, (obj), \
|
||||
TYPE_ACPI_DEVICE_IF)
|
||||
|
||||
|
||||
typedef struct AcpiDeviceIf {
|
||||
/* <private> */
|
||||
Object Parent;
|
||||
} AcpiDeviceIf;
|
||||
typedef struct AcpiDeviceIf AcpiDeviceIf;
|
||||
|
||||
void acpi_send_event(DeviceState *dev, AcpiEventStatusBits event);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue