diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-16 15:41:11 -0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-05-16 18:04:44 -0300 |
commit | 08a82ac01cb5409480128f8e1f144557d99b74a3 (patch) | |
tree | c7151763bac0097f5f8ca4ef67969729281b3e8d /hw/apic.c | |
parent | 04fa27f5ae5f025424bb7b88d3453c46e8900102 (diff) |
pc: Enable MSI support at APIC level
Push msi_supported enabling to the APIC implementations where we can
encapsulate the decision more cleanly, hiding the details from the
generic code.
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/apic.c')
-rw-r--r-- | hw/apic.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include "apic_internal.h" #include "apic.h" #include "ioapic.h" +#include "msi.h" #include "host-utils.h" #include "trace.h" #include "pc.h" @@ -862,6 +863,8 @@ static void apic_init(APICCommonState *s) s->timer = qemu_new_timer_ns(vm_clock, apic_timer, s); local_apics[s->idx] = s; + + msi_supported = true; } static void apic_class_init(ObjectClass *klass, void *data) |