[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] Fix save/restore of guest PAT table in HAP paging mode.
On 04/11/2012 06:04 PM, Gianluca Guida wrote:
I can test it on my AMD box tomorrow. BTW from my understanding, this patch doesn't have performance implication for nested paging mode, does it?Hello, HAP paging mode guests use direct MSR read/write into the VMCS/VMCB for the guest PAT table, while the current save/restore code was accessing only the pat_cr field in hvm_vcpu, used when intercepting the MSR mostly in shadow mode (the Intel scenario is a bit more complicated). This patch fixes this issue creating a new couple of hvm_funcs, get/set_guest_pat, that access the right PAT table based on the paging mode and guest configuration. As a major caveat, I haven't tested this patch on AMD, for lack of hardware.
Signed-off-by: Gianluca Guida<gianluca.guida@xxxxxxxxxx>
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
Lists.xenproject.org is hosted with RackSpace, monitoring our