diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:25:08 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:48 +0200 |
commit | 1437c94b2689c2010362f84d14f14feaa1d8dba3 (patch) | |
tree | bd4b6f471dd28369663606a2a1831b92787b74d1 /hw/intc/apic.c | |
parent | b716368778aebdb523546d72a28706420a8c32ae (diff) | |
download | qemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.zip qemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.tar.gz qemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.tar.bz2 |
hw/i*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc/apic.c')
-rw-r--r-- | hw/intc/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/apic.c b/hw/intc/apic.c index d15c8be..5e3b96e 100644 --- a/hw/intc/apic.c +++ b/hw/intc/apic.c @@ -873,7 +873,7 @@ static const MemoryRegionOps apic_io_ops = { static void apic_init(APICCommonState *s) { - memory_region_init_io(&s->io_memory, NULL, &apic_io_ops, s, "apic-msi", + memory_region_init_io(&s->io_memory, OBJECT(s), &apic_io_ops, s, "apic-msi", APIC_SPACE_SIZE); s->timer = qemu_new_timer_ns(vm_clock, apic_timer, s); |