]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kvm/cpuid.c
kvm: x86: CPUID.01H:EDX.APIC[bit 9] should mirror IA32_APIC_BASE[11]
authorJim Mattson <jmattson@google.com>
Wed, 9 Nov 2016 17:50:11 +0000 (09:50 -0800)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 22 Nov 2016 13:51:55 +0000 (14:51 +0100)
commitc7dd15b33707e99c2b66da44a2a280638b4cd14f
treed6cc45d3e106def8da15697955e3a5cd98ccfc83
parent4504b5c9414c55da37f26b1faf49c09a2acbf255
kvm: x86: CPUID.01H:EDX.APIC[bit 9] should mirror IA32_APIC_BASE[11]

From the Intel SDM, volume 3, section 10.4.3, "Enabling or Disabling the
Local APIC,"

  When IA32_APIC_BASE[11] is 0, the processor is functionally equivalent
  to an IA-32 processor without an on-chip APIC. The CPUID feature flag
  for the APIC (see Section 10.4.2, "Presence of the Local APIC") is
  also set to 0.

Signed-off-by: Jim Mattson <jmattson@google.com>
[Changed subject tag from nVMX to x86.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/lapic.c