kvm: x86: Disallow illegal IA32_APIC_BASE MSR values
authorJim Mattson <jmattson@google.com>
Thu, 10 Aug 2017 17:14:13 +0000 (10:14 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Aug 2017 16:59:30 +0000 (18:59 +0200)
commitd3802286fa0f9886700f2e47c05876ddb86dcb77
treefe99f4eea10114a46f113b3affb555d934b23b13
parent26eeb53cf0f9a0557be09b7efdeb2392c92b1a4f
kvm: x86: Disallow illegal IA32_APIC_BASE MSR values

Host-initiated writes to the IA32_APIC_BASE MSR do not have to follow
local APIC state transition constraints, but the value written must be
valid.

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c