[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] arch_set_info_guest() and cr1
Ah I see it, during save/restore, it is used. Well, I'm trying to keep the option of using PV paging with hybrid, so I may need to honor that. But that's phase 2. thanks, Mukesh On Fri, 12 Aug 2011 07:16:39 +0100 Keir Fraser <keir.xen@xxxxxxxxx> wrote: > We stash the user-space CR3 value there (PV x86_64 guests have two > CR3s). Of course you should need only the guest kernel CR3. > > K. > > On 12/08/2011 03:03, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote: > > > Hi, > > > > Just wondering under what circumstances will cr1 be set in this > > function? > > > > int arch_set_info_guest( > > struct vcpu *v, vcpu_guest_context_u c) > > { > > ..... > > > > #ifdef __x86_64__ > > if ( c.nat->ctrlreg[1] ) <------ > > { > > ..... > > > > > > > > thanks, > > Mukesh > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-devel > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |