From: =?UTF-8?Q?Vladimir_'=cf=86-coder/phcoder'_Serbinenko?= Subject: Re: Uniform commands for booting xen Date: Fri, 22 Jan 2016 10:14:03 +0100 Message-ID: <56A1F2DB.2040308__25793.4720408686$1453454124$gmane$org@gmail.com> References: <56449726.8090707@gmail.com> <5644C1F502000078000B455F@prv-mh.provo.novell.com> <1447348140.18450.92.camel@citrix.com> <5645A3E802000078000B495A@prv-mh.provo.novell.com> <1447408236.18450.117.camel@citrix.com> <5693B6E6.9030903@gmail.com> <1453112888.6020.109.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3837030767553719968==" Return-path: In-Reply-To: <1453112888.6020.109.camel@citrix.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: Ian Campbell , Andrei Borzenkov , The development of GNU GRUB Cc: Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============3837030767553719968== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4CXiqxUSHCC7gt9ibmV8dC5jU5VcWXMTO" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4CXiqxUSHCC7gt9ibmV8dC5jU5VcWXMTO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 18.01.2016 11:28, Ian Campbell wrote: > On Mon, 2016-01-11 at 15:06 +0100, Vladimir '=CF=86-coder/phcoder' Serb= inenko > wrote: >> On 13.11.2015 10:50, Ian Campbell wrote: >>> On Fri, 2015-11-13 at 12:04 +0300, Andrei Borzenkov wrote: >>>>> How do you express modules other than kernel+initrd in that >>>>> scheme, without grub needing to be aware of any new addition we >>>>> may find necessary going forward? >>>>> >>>> >>>> Are modules used by Xen self-identifying? Is it enough to simply pas= s >>>> Xen kernel list of binary blobs or Xen kernel must be told what thes= e >>>> binary blobs are? If they are self identifying, why arm needs to be >>>> passed module type in the first place? >>> >>> At first Xen/ARM required the bootloader to identify, but that was >>> since >>> identified as causing madness and fixed by having Xen/ARM do as Xen/x= 86 >>> does and figure things out for itself, but I failed to communicate th= is >>> clearly and things got implemented on the grub side under the old >>> assumptions. >>> >> This changes a lot. This removes most of hurdles towards uniformity. A= re >> you ok with replacing xen_kernel/xen_xsm/... with just xen_module and >> dropping type altogether? >=20 > So ending up with xen_hypervisor followed by one or more xen_module lin= es? > That's fine with me. This bit: >=20 > @@ -203,15 +155,11 @@ prepare_xen_module_params (struct xen_boot_binary= *module, void *xen_boot_fdt) > grub_fdt_add_subnode (xen_boot_fdt, chosen_node, module_name); > =20 > retval =3D grub_fdt_set_prop (xen_boot_fdt, module_node, "compatible= ", > - module->node_info.compat_string, > - (grub_uint32_t) module-> > - node_info.compat_string_size); > + "deprecated", sizeof("deprecated") - 1); >=20 > Seems to be changing the compatibility string of hte node to "deprecate= d", > which isn't right (or at least won't work). The nodes still need to be > identified as being modules per http://xenbits.xen.org/docs/unstable/mi= sc/a > rm/device-tree/booting.txt that means "multiboot,module" (or if you ins= ist > "xen,multiboot-module"). >=20 Changed to "multiboot,module" and committed >> Do you think that it makes sense to have xen_initrd in order to have >> in-memory initrd concatenation like baremetal counterpart? In either >> case we can add it later. I'd rather not have a command than to change= >> its meaning later. >=20 > If it is useful on baremetal (and I can see that it would be) then I th= ink > it would be useful on Xen too. >=20 > Ian. >=20 >=20 --4CXiqxUSHCC7gt9ibmV8dC5jU5VcWXMTO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlah8uEACgkQmBXlbbo5nOs10gD/YjnOBj2k+q50cSfb0/TLL1ZK m3c3NQ34REeS/95+uF4A/2fx8hFjegxNLgGVmafAMDMSjGoDK9sY3pYrKQ/uyBIW =UvHi -----END PGP SIGNATURE----- --4CXiqxUSHCC7gt9ibmV8dC5jU5VcWXMTO-- --===============3837030767553719968== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3837030767553719968==--