WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] EFER in HVM guests

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Woller, Thomas" <thomas.woller@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] EFER in HVM guests
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 19 Dec 2006 10:46:54 +0100
Delivery-date: Tue, 19 Dec 2006 01:47:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B30DA1341B0CFA4893EF8A36B40B5C5D8B84AE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccTv6r97XujPIxiQ5aNfYfQKg41qAAEUxeAAAJ45NkD3JPJIAABFVyA
Thread-topic: [Xen-devel] EFER in HVM guests
> -----Original Message-----
> From: Li, Xin B [mailto:xin.b.li@xxxxxxxxx] 
> Sent: 19 December 2006 09:13
> To: Keir Fraser; Nakajima, Jun; Woller, Thomas; 
> xen-devel@xxxxxxxxxxxxxxxxxxx; Petersson, Mats
> Subject: RE: [Xen-devel] EFER in HVM guests
> 
> When I'm trying to merge VMX/SVM MSR access code, I'm confused by some
> SVM MSR access code, since quite a few MSRs have 
> corresponding fields in
> vmcb, why still the access will cause VMExits?

All MSR read/write operations are set to exit according to the line
which sets "msrpm" to all ones around line 142 [I'm on an older
changeset, so that may be quite a long while ago] in .../hvm/svm/vmcb.c.


Certain MSR writes need to be tracked in the hypervisor to understand
what's going on, and most other ones should be "ignored". 

--
Mats
> -Xin 
> 
> >-----Original Message-----
> >From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> >[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Keir Fraser
> >Sent: Thursday, November 30, 2006 1:22 AM
> >To: Nakajima, Jun; Jan Beulich; xen-devel@xxxxxxxxxxxxxxxxxxx; 
> >Keir Fraser
> >Subject: Re: [Xen-devel] EFER in HVM guests
> >
> >
> >*Please* can you make the handling of generic CPUID leaves and 
> >architectural
> >MSRs common HVM code? There is lots of needless code 
> >duplication right now
> >with niggling differences that shouldn't be necessary.
> >
> > -- Keir
> >
> 
> 
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel