From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [RFC PATCH 1/8]: PVH: Basic and preparatory changes Date: Thu, 13 Sep 2012 20:36:39 +0300 Message-ID: <20120913173639.GY8912@reaktio.net> 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> <20120913101439.6bd363a9@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120913101439.6bd363a9@mantra.us.oracle.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: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Thu, Sep 13, 2012 at 10:14:39AM -0700, Mukesh Rathor wrote: > 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. > I read that as "if hardware, xen and kernel supports PVH, enable it as a default, but still allow the user to force enable/disable it in the domain cfgfile for easier debugging". -- Pasi