mirror of https://github.com/xemu-project/xemu.git
ioapic: Replace FROM_SYSBUS() with QOM type cast
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
f1fc3e6658
commit
f16a69f7fc
|
@ -59,7 +59,7 @@ static int ioapic_dispatch_post_load(void *opaque, int version_id)
|
|||
|
||||
static int ioapic_init_common(SysBusDevice *dev)
|
||||
{
|
||||
IOAPICCommonState *s = FROM_SYSBUS(IOAPICCommonState, dev);
|
||||
IOAPICCommonState *s = IOAPIC_COMMON(dev);
|
||||
IOAPICCommonClass *info;
|
||||
static int ioapic_no;
|
||||
|
||||
|
|
Loading…
Reference in New Issue