From 08a82ac01cb5409480128f8e1f144557d99b74a3 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 16 May 2012 15:41:11 -0300 Subject: 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 Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- hw/pc.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 4d34a335ed..6691b18196 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -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; } -- cgit v1.2.1