From: Keir Fraser Subject: Re: [RFC][PATCH 03/10] xen/hybrid: Xen Hybrid Extension initialization Date: Thu, 17 Sep 2009 07:22:44 +0100 Message-ID: References: <4AB1496B.9070705@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AB1496B.9070705@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , Sheng Yang Cc: Jeremy Fitzhardinge , Eddie Dong , xen-devel , Jun Nakajima , "linux-kernel@vger.kernel.org" List-Id: xen-devel@lists.xenproject.org On 16/09/2009 21:24, "Jeremy Fitzhardinge" wrote: >> Guest would detect Hybrid capability using CPUID 0x40000002.edx, then call >> HVMOP_enable_hybrid hypercall to enable hybrid support in hypervisor. >> > > I think having an option to put PV guests into an HVM container is a > good one, but as I mentioned in the other mail, I don't think this is > the right approach. > > It would be much better to make it so that an unmodified guest works in > such a mode; even with no specific optimisations the guest would get > benefit from faster kernel<->usermode switches. By unmodified you mean ordinary PV guest? It's an interesting comparison -- PVing an HVM guest, versus HVMing (to some extent) a PV guest. -- Keir > Then we can add specific optimisations to take advantage of, say, > running in ring 0 (=fast syscalls) and having access to HAP hardware > (=direct pagetable updates, no pinning).