From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [RFC PATCH 1/8]: PVH: Basic and preparatory changes Date: Thu, 13 Sep 2012 10:14:39 -0700 Message-ID: <20120913101439.6bd363a9@mantra.us.oracle.com> References: <20120815175724.3405043a@mantra.us.oracle.com> <1347285352.5305.86.camel@zakaz.uk.xensource.com> <20120911145751.599b8292@mantra.us.oracle.com> <1347437545.25803.16.camel@dagon.hellion.org.uk> <20120912110254.10bde333@mantra.us.oracle.com> <1347474380.25803.21.camel@dagon.hellion.org.uk> <20120912123238.7057c51a@mantra.us.oracle.com> <1347516007.25803.44.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1347516007.25803.44.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 13 Sep 2012 07:00:07 +0100 Ian Campbell wrote: > On Wed, 2012-09-12 at 20:32 +0100, Mukesh Rathor wrote: > > On Wed, 12 Sep 2012 19:26:20 +0100 > > Ian Campbell wrote: > > > > > On Wed, 2012-09-12 at 19:02 +0100, Mukesh Rathor wrote: > Callback vector is XENFEAT_hvm_callback_vector, I think. > > A PV kernel is required to announce the features which it supports via > the elf notes (defined in xen-head.S). > > It would be a bug for the toolstack to enable PVH mode for a kernel > which did not claim to support the required featureset. > > The aim should be that the user should not normally need to specify > pvh one way or the other, imagine a use case where pygrub is used to > boot both old and new kernels using it. > > The toolstack (or the dom0 builder) can make the determination whether > to enable this mode itself itself based on the notes (although it is > always handy to have an override to force things for debug). Hmmm... So you are suggesting that if hardware and xen supports it, then PV should just boot in PVH mode and user has no way to override it. I don't know if that's a good idea in the short term, perhaps in the long term. Let me discuss with folks here a bit. thanks, Mukesh