From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [HYBRID]: XEN_EMULATE_PREFIX in user process Date: Fri, 29 Jun 2012 14:18:12 -0700 Message-ID: <20120629141812.6ca72375@mantra.us.oracle.com> References: <20120628180007.06bb3fd3@mantra.us.oracle.com> <4FED7BD7020000780008CBFB@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FED7BD7020000780008CBFB@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: "Xen-devel@lists.xensource.com" , IanCampbell , "stefano.stabellini@eu.citrix.com" List-Id: xen-devel@lists.xenproject.org On Fri, 29 Jun 2012 08:56:39 +0100 "Jan Beulich" wrote: > >>> On 29.06.12 at 03:00, Mukesh Rathor > >>> wrote: > > BTW, for cpuid vmexit, if kernel mode I call pv_cpuid, if user > > mode, I just return cpuid values, as that's what would happen > > without the HVM container. > > Which means you're not leveraging one of the things you could > gain from hybrid (after all, returning the native value to user > mode is one of the weaknesses of PV). > > Jan > Easy, fixed. So, now, for both kernel/user I return pv_cpuid.