projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fc3e6
)
ioapic: Replace FROM_SYSBUS() with QOM type cast
author
Igor Mammedov
<imammedo@redhat.com>
Fri, 5 Apr 2013 14:37:00 +0000
(16:37 +0200)
committer
Andreas Färber
<afaerber@suse.de>
Mon, 15 Apr 2013 23:19:46 +0000
(
01:19
+0200)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/intc/ioapic_common.c
patch
|
blob
|
history
diff --git
a/hw/intc/ioapic_common.c
b/hw/intc/ioapic_common.c
index
42c7adc
..
5c5bb3c
100644
(file)
--- a/
hw/intc/ioapic_common.c
+++ b/
hw/intc/ioapic_common.c
@@
-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;