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

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


  • To: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Thu, 4 Nov 2021 15:56:33 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+pO4Y2pzcdTpXHfDjwnB6vqw9YoAtbAfUHN0aOdRlU0=; b=no2IGBMrjoTcGjwL6/C9f6/U+1fVT4U/R3LgCWnGxmoCh0M+Z65uZAcrdWhdUr9swbUuwMITrkLmCogkoQaBjIixUe+Nl9LptbQlZ1OwdKcyC7pgFVyIK1/Dr0uBZLBrvPEM2yGOtLCyJ0qeN3yuM8JDWG6wIvVR6lc7dhuhI8wGs8WKvRkA+TlOMnGupAZ7oGnYAD/f/ZAXGbnpL5uWHf8fAz2O0858wWTgauNvGNw2fHHCevwHtmAIwY4tC8vKiyWfUY1ryls1TzrHVKbc1uHURtPjCiJEHnUQ5kMRGw4CIhZgD22JaDtb88GWkdqWYa8nAeQCTHWP6LLgzAsRBg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D0ahA5OFbO4zIEBSeOQ75GKfZ1fAv8YTmElzxsqwAFQb5qj6yoe6XkUoKnM61Gjg+aipatnh/OwAgh8+S4hsPkTKguCJbaqcTrzGC6qFE8gixgP572W3FiwY2DDonS8lcgO1yPPRMp3oNZGFKvJIrGy+EFyjtxRpD+VHNLSaO9Eu5YdksOJE2ncCqZL+RB5e4mtmc3/rLaP9YZ5oaagaZNrK/2dBb4KGLW4t8zgobn/hHbu8f5x/kgrCAL/TYtsmeyHbSYfSjzpx8iLkgJ7JXQ0P+j0dnqfVfcazNGM9ET54upXHMUDHemQhChobJPv1yKGg2tdG0FuZiMcUPnYotQ==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 04 Nov 2021 15:57:09 +0000
  • Ironport-data: A9a23:ipOUOKpEr/mNjTW6F259afZkINJeBmLvYhIvgKrLsJaIsI4StFCzt garIBmBPquPNGb1eNx+bI+08E4Hu8SDz9JgTwNk/31jEHgR9puZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlZT4vE2xbuKU5NTsY0idfic5Dnd+4f5fs7Rh2Ncx2IDlW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnbzzZhUJIJaVpMc6dx1dGh9fApVt16CSdBBTseTLp6HHW37lwvEoB0AqJ4wIvO1wBAmi9 9RBdmpLNErawbvrnvTrEYGAhex6RCXvFKoZtmtt0nfyCvE+TIqYa67L+cVZzHE7gcUm8fP2O pVBOWszMk+ojxtnH3FGVo5jhsCSplLYfABlkWO0vo4qyj2GpOB2+Oe0a4eEEjCQfu1XkVyfv Xnu5HniD1cRM9n34Tua8Fq8i+nXhyT5VYkOUrqi+ZZCn1m71mEVThoMWjOTsfS/z0KzRd9bA 0gV4TY167g/8lSxSdvwVAH+p2SL1iPwQPIJTbd8slvUjPOJvUDJXQDoUwKtdvQG9+AkZSIRj 2OquPftADVRkYKtY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6MqyLMbEYt7eL3ODbKadY/DDvysnB7o2/vhQdPj2CKZsQizuRYjzrY3GeLzM2Y6bReq DshPav6wDQAkj+Oa+Adwc4tqX41pD2vaOjRSRDKw8s6QGIgz/twLnmEyKA1hNbdz9U278t/U XMjgS8v8yYwr6G4y6Z81WWw4VdmdPnxNcGLMuQivINIjGprgqzfoxuV5CLoThwiuCy71QBls XKvn4bTohOwkKUWlvwjQrm2gHm3jprw3j+yWWAiX+mmsD9TCJSMbsIuatpNj/ir2YwttB116 xGm0iDsYBMMB/GlCPho/DVShBDjCOP0DofuN9Wq0YafZoVabdXo4Ba1lhSCo08ECXz751iOP VyDfvb+O1dfTqhHjHkV1FUsZ6Rt0kIb1K7qhBogL3Q79EWpgE286Ig/r1dop9an6hNDKWt5I z/Q+1Vff91P4krhJlGdZI8qP2MexrwqCL3QRCvyGvcZdU60lL22tXKCeYOlauXkKJh9upEpH 2GaiIAiVIP
  • Ironport-sdr: jHrg3yN4/FbqTdrgKw2SgDp4nSrwyIlsY94F9iGKSir05qmKiC5/JzdmtgygqkanNo1/Y+0e2l mTSwcGeY4Shdz9yWu4j/CWmET/v4ZjnYWBr/GjhHSwVmbFMnfbgGlSSTNwyboNd3+41E3xTe+7 6kpKuE72ma+7vWNrpiaXSyD6zsQZGoA/cWit87Zwl5+MAVIKCdhw9fbC4btWw3i4f1QOn4pb/l 6VJZCLkdbn4ZQoUVt+s3uzvlYNFVq6j1KBCCa2tTMIontzuBrzSiojnW5TMp+fxDWL/6zk/xvt NtwgPsvOxe2ElkoTDr20bCZ6
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04/11/2021 14:52, Ian Jackson wrote:
> 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.

I think the patch will fix the problem from CI.  And from that point of
view it is an improvement.

However,  I don't think the help text is correct any more.  Specifically:

+       [Use system supplied IPXE PATH instead of building and installing
+        our own version, it takes precedence over --{en,dis}able-ipxe
and is
+        bound by the presence of rombios, --without-system-ipxe is an
error]),[

and the binding to RomBIOS is no longer true AFAICT.  At a minimum, I
think the wording there needs tweaking.

If tweaking is going on, then "per default" in the commit message feels
a little awkward, and would more normally be "by default".

Otherwise, LGTM.

~Andrew




 


Rackspace

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