]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc1ed08d6bb7c5f2ebefa9f01c919af969c7350
treefc3236bad5adb9d6833e8b59f49b7378410cacb9
parentaaf8e47f2413ac16e600657c3ad100869ff0f17d
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