]> xenbits.xensource.com Git - xen.git/commit
CI: Rework domU_config generation in qubes-x86-64.sh
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Oct 2024 14:07:54 +0000 (15:07 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Oct 2024 15:16:43 +0000 (16:16 +0100)
commit3be3ae07705af77ab1c87c2e442c7646c938ad25
tree95bb1df7b0def7ae23cc02cf92fd94ddfd8e3c18
parent6685a129c7864e3733afef09a2539ccd722a4380
CI: Rework domU_config generation in qubes-x86-64.sh

Right now, various blocks rewrite domU_config= as a whole, even though it is
largely the same.

 * dom0pvh-hvm does nothing but change the domain type to hvm
 * *-pci sets the domain type, clears vif=[], appends earlyprintk=xen to the
   cmdline, and adds some PCI config.

Refactor this to be domU_type (defaults to pvh), domU_vif (defaults to
xenbr0), and domU_extra_config (defaults to empty) and use these variables to
build domU_config= once.

Of note, the default domU_config= now sets cmdline=, and extra= is intended
for inclusion via domU_extra_config as necessary.

No practical change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
automation/scripts/qubes-x86-64.sh