]> git.proxmox.com Git - qemu.git/commit
i386: kvm: x2apic is not supported without in-kernel irqchip
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 4 Oct 2012 20:49:02 +0000 (17:49 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 31 Oct 2012 01:39:48 +0000 (23:39 -0200)
commit41e5e76db07b52591d9c9b88826278b8a5112258
tree1047c4e96be3203fa5527e2238ff8f3c2eb4fdbd
parentac67ee260ae8e353314b6995ed5dccf1bb94fa9d
i386: kvm: x2apic is not supported without in-kernel irqchip

This is necessary so that x2apic is not improperly enabled when the
in-kernel irqchip is disabled.

This won't generate a warning with "-cpu ...,check" because the current
check/enforce code is broken (it checks the host CPU data directly,
instead of using kvm_arch_get_supported_cpuid()), but it will be
eventually fixed to properly report the missing x2apic flag.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/kvm.c