![]() |
This patch enables TSC scaling ratio for SVM. With it, guest VMs don't need take #VMEXIT to calculate a translated TSC value when it is running under TSC emulation mode. This can SUBSTANTIALLY reduce the rdtsc overhead.
Signed-off-by: Wei Huang <wei.huang2@xxxxxxx> arch/x86/hvm/svm/svm.c | 32 +++++++++++++++++++++++++++++++- arch/x86/hvm/svm/vmcb.c | 4 +++- include/asm-x86/hvm/svm/svm.h | 8 ++++++++ include/asm-x86/msr-index.h | 3 +++ 4 files changed, 45 insertions(+), 2 deletions(-)
Attachment:
xen_tsc_ratio.txt
Description: xen_tsc_ratio.txt
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Copyright
, Citrix Systems Inc. All rights reserved.
Legal and Privacy
|