From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH][SVM] Fix 32bit Windows guest VMs save/restore Date: Tue, 01 Feb 2011 23:35:49 +0100 Message-ID: References: <4D4875BD.5040706@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D4875BD.5040706@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Huang Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Yeah, good. I'll double check it next week and apply it then for 4.1.x and 4.0.x. Thanks, Keir On 01/02/2011 22:06, "Wei Huang" wrote: > How does this one look? It should address your concern about duplicating > data in both vcpu and vmcb. I have tested it with both 32bit and 64bit > Windows successfully. > > -Wei > > ================= > Fix 32bit guest VM save/restore issues associated with SYSENTER MSRs on > AMD platforms. > > This patch turn-on SYSENTER MSRs interception for 32bit guest VMs on AMD > CPUs. With it, hvm_svm.guest_sysenter_xx fields always contain the > canonical version of SYSENTER MSRs and are used in guest save/restore. > The data fields in VMCB save area are updated as necessary. > > Reported-by: James Harper > Signed-off-by: Wei Huang > ================= >