From: "Jan Beulich" Subject: Re: [PATCH for-xen-4.5 v3 00/16] xen: Break multiboot (v1) dependency and add multiboot2 support Date: Thu, 16 Oct 2014 16:42:08 +0100 Message-ID: <54400370020000780003F53A@mail.emea.novell.com> References: <1412790736-28915-1-git-send-email-daniel.kiper@oracle.com> <543F9A4F020000780003F0ED@mail.emea.novell.com> <20141016125851.GC3467@olila.local.net-space.pl> <543FE739020000780003F416@mail.emea.novell.com> <20141016153350.GD3467@olila.local.net-space.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XenBr-0006KM-RB for xen-devel@lists.xenproject.org; Thu, 16 Oct 2014 15:42:11 +0000 In-Reply-To: <20141016153350.GD3467@olila.local.net-space.pl> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel Kiper Cc: Juergen Gross , keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, roy.franz@linaro.org, ning.sun@intel.com, ross.philipson@citrix.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org >>> On 16.10.14 at 17:33, wrote: > On Thu, Oct 16, 2014 at 02:41:45PM +0100, Jan Beulich wrote: >> And then I'm still not really convinced that all this goes in the right >> direction. In particular I'm worried about you doing pretty invasive >> to early boot code when it's not really clear that all this need to be >> touched (and largely re-written). I'd really favor you initially working >> towards supporting MB2 without at the same time trying to abstract > > I have a feeling that if we go in that direction that this strong > dependency on MB1 never would be broken. > >> things to fit all of MB1, EFI, MB2, and eventually even ARM. This is >> to a good part that it's currently rather hard to see whether what >> you abstract and how are really the right items and mechanisms. > > As said earlier, I think that we should break MB1 dependency first > and use this work for further MB2 development. It pays. Please, look > at patch which introduce MB2. It is very easy to do after my changes > (introducing MBD and boot_info). Just one very simple patch. We do not > even touch Xen main code! I am sure that it could be more difficult > if we try to do that on currently exiting MB1 code. Pretty strange way of looking at this: Of course everything can become a 1-liner if dozens of intrusive preparatory patches set the stage right. Jan