diff options
author | Xiaoming Gao <newtongao@tencent.com> | 2014-06-19 19:14:57 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-19 13:43:43 +0200 |
commit | e1fa108d24697b78348fd4e5a531029a50d0d36d (patch) | |
tree | 431449b3d20ef5a7b92f7f376e4f4ee6b202a179 /tools/perf/scripts/python | |
parent | 682367c494869008eb89ef733f196e99415ae862 (diff) |
kvm: fix wrong address when writing Hyper-V tsc page
When kvm_write_guest writes the tsc_ref structure to the guest, or it will lead
the low HV_X64_MSR_TSC_REFERENCE_ADDRESS_SHIFT bits of the TSC page address
must be cleared, or the guest can see a non-zero sequence number.
Otherwise Windows guests would not be able to get a correct clocksource
(QueryPerformanceCounter will always return 0) which causes serious chaos.
Signed-off-by: Xiaoming Gao <newtongao@tencnet.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions