Petersson, Mats
2007-Apr-03 12:18 UTC
[Xen-devel] [PATCH][SVM] Remove more MSR intercepts that are redundant.
Further to yesterdays patch removing FS/GS-base MSR intercepts, this
patch:
1. Removes intercept of guest-specific MSRs
MSR_IA32_SYSENTER_{CS,ESP,EIP}, MSR_{L,C,}STAR, MSR_SYSCALL_MASK,
MSR_SHADOW_GS_BASE.
2. Removes code to deal with those intercepts, as well as the
FS/GS-base. Since long_mode_do_msr_read now became essentially a switch
of a single case + default, I removed the entire function and inlined
the remaining single case-statement into the original MSR-access
function.
In a normal system, this probably doesn''t improve performance (or
otherwise affect anything), but it removes some code that isn''t needed
-
which I think is as good a reason as any.
I''d appreciate if this is applied.
Applies to c/s: 14967
Signed off by: Mats Petersson <mats.petersson@amd.com>
--
Mats
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel