KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
authorHaozhong Zhang <haozhong.zhang@intel.com>
Mon, 14 Dec 2015 15:13:38 +0000 (23:13 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Dec 2015 15:24:08 +0000 (16:24 +0100)
commit81b1b9ca6d5ca5f3ce91c0095402def657cf5db3
treefc3236bad5adb9d6833e8b59f49b7378410cacb9
parente307beca2e24b58afa836d69ebbfecdd9cb832f1
KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX

The current handling of accesses to guest MSR_TSC_AUX returns error if
vcpu does not support rdtscp, though those accesses are initiated by
host. This can result in the reboot failure of some versions of
QEMU. This patch fixes this issue by passing those host initiated
accesses for further handling instead.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c