aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorLiu, Jinsong <jinsong.liu@intel.com>2012-09-26 12:12:42 +0200
committerLiu, Jinsong <jinsong.liu@intel.com>2012-09-26 12:12:42 +0200
commit6e0336351ed95e2f72e396b3e1d055a8f5663542 (patch)
tree7a8e9ed2328d9d3169bd3d9580d0085b4d6def5e /tools/misc
parentbe3e4ed45e1bb0ec9aa2dfcd5450eec6ccc56dac (diff)
downloadxen-6e0336351ed95e2f72e396b3e1d055a8f5663542.tar.gz
xen-6e0336351ed95e2f72e396b3e1d055a8f5663542.tar.bz2
xen-6e0336351ed95e2f72e396b3e1d055a8f5663542.zip
x86: Implement TSC adjust feature for HVM guest
IA32_TSC_ADJUST MSR is maintained separately for each logical processor. A logical processor maintains and uses the IA32_TSC_ADJUST MSR as follows: 1). On RESET, the value of the IA32_TSC_ADJUST MSR is 0; 2). If an execution of WRMSR to the IA32_TIME_STAMP_COUNTER MSR adds (or subtracts) value X from the TSC, the logical processor also adds (or subtracts) value X from the IA32_TSC_ADJUST MSR; 3). If an execution of WRMSR to the IA32_TSC_ADJUST MSR adds (or subtracts) value X from that MSR, the logical processor also adds (or subtracts) value X from the TSC. This patch provides tsc adjust support for hvm guest, with it guest OS would be happy when sync tsc. Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com> Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'tools/misc')
0 files changed, 0 insertions, 0 deletions