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/pc.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/pc.c')
-rw-r--r-- | hw/pc.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -911,15 +911,6 @@ static DeviceState *apic_init(void *env, uint8_t apic_id) apic_mapped = 1; } - /* KVM does not support MSI yet. */ - if (!kvm_irqchip_in_kernel()) { - msi_supported = true; - } - - if (xen_msi_support()) { - msi_supported = true; - } - return dev; } |