[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH-for-4.16 1/2] configure: modify default of building rombios



Juergen Gross writes ("[PATCH-for-4.16 1/2] configure: modify default of 
building rombios"):
> The tools/configure script will default to build rombios if qemu
> traditional is enabled. If rombios is being built, ipxe will be built
> per default, too.
> 
> This results in rombios and ipxe no longer being built per default when
> disabling qemu traditional.
> 
> Fix that be rearranging the dependencies:
> 
> - build ipxe per default
> - build rombios per default if either ipxe or qemu traditional are
>   being built
> 
> This modification prepares not building qemu traditional per default
> without affecting build of rombios and ipxe.

Thanks.  We had a conversation on irc about this.  In summary:

Reviewed-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>


Discussion:

Both before and after this patch --with-system-ipxe --disable-ipxe (or
--with-system-ipxe on arm) would set IPXE_PATH but not cause ipxe to
be actually built.  I think that is correct.

We discussed the linkage between rombios and ipxe.  Our understanding
is that thbe intent was to support two configurations:
  qemu-trad + {hvmloader, rombios, ipxe}
  qemu-upstraem + {hvmloader, seabios, pxe rom provided by qemu}

Before this patch, --disable-rombios --enable-ipxe would be an error.
After this patch, it is tolerated (and indeed, it might occur with
only one of those options due to defaulting).  But we think that there
is no actual functional link between these pieces: ie, nothing will
actually go wrong.  You just might not have ipxe support since you
wouldn't be using trad at all.

We think that someone who explicitly manipulates the
--en/disable-rombios and --en/disable-ipxe options so as to construct
such a situation ought to know what they are doing and should get what
the asked for.

Most people will controlling this via --en/disable-qemu-trad, which
will do a plausible. thing.


I think *this* patch is a bugfix, although to rather obscure configure
behaviour.  I am inclined to release ack both this and the followup,
for the reasons I gave previously.

Comments (especially, anything to contradict what I wrote above) ASAP
please.


Thanks,
Ian.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.