Skip to content

ts-xen-build: explicitly enable/disable configure features

Ian Jackson xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ts-xen-build: Refactor enable/disable configure optionsts-xen-build+17 -130 replies
2/2ts-xen-build: Pass --enable if --disable found in usage, and v.v.ts-xen-build+9 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJuergen Gross
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [OSSTEST PATCH 0/2] ts-xen-build: explicitly enable/disable configure features

The existing code depends on precisely whether the non-default option appearing in the configure script is indeed the opposite of the option we want to pass.

Right now it seems to be working but this seems fragile. Do it differently.

I have verified that with current Xen, on arm64:

+ egrep -q -- '--disable-xend|--enable-xend' tools/configure
+ egrep -q -- '--disable-ovmf|--enable-ovmf' tools/configure
+ enable_opts=' --enable-ovmf'
+ egrep -q -- '--disable-qemu-traditional|--enable-qemu-traditional' tools/configure
+ enable_opts=' --enable-ovmf --disable-qemu-traditional'
+ ./configure --sysconfdir=/etc --enable-ovmf --disable-qemu-traditional

and on amd64:

+ egrep -q -- '--disable-xend|--enable-xend' tools/configure
+ egrep -q -- '--disable-ovmf|--enable-ovmf' tools/configure
+ enable_opts=' --enable-ovmf'
+ egrep -q -- '--disable-qemu-traditional|--enable-qemu-traditional' tools/configure
+ enable_opts=' --enable-ovmf --enable-qemu-traditional'
+ ./configure --sysconfdir=/etc --enable-ovmf --enable-qemu-traditional

Juergen, I would appreciate a review from you. I think I would like this in osstest production before changing the qemu trad build default in Xen.

Ian Jackson (2):
ts-xen-build: Refactor enable/disable configure options
ts-xen-build: Pass --enable if --disable found in usage, and v.v.

 ts-xen-build | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1