diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2014-01-24 16:48:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-01-27 14:39:44 +0100 |
commit | 58cb628dbe24ce21b884729aebe15acb903dbfb5 (patch) | |
tree | 56355ea28e8f76fc0f933ae39d481ecb00a90a0b /arch/xtensa | |
parent | b3af1e889ec4909f6b48dabd19a311d9c9f8d58e (diff) |
KVM: x86: Validate guest writes to MSR_IA32_APICBASE
Check for invalid state transitions on guest-initiated updates of
MSR_IA32_APICBASE. This address both enabling of the x2APIC when it is
not supported and all invalid transitions as described in SDM section
10.12.5. It also checks that no reserved bit is set in APICBASE by the
guest.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
[Use cpuid_maxphyaddr instead of guest_cpuid_get_phys_bits. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions