]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: enable earlyprintk=xen for both dom0 and domU in hw tests
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Mon, 15 May 2023 21:43:05 +0000 (14:43 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Mon, 15 May 2023 21:46:54 +0000 (14:46 -0700)
Make debugging early boot failures easier based on just CI logs.

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

index 98137bb7720c262af08a016938f279c87c98f489..5f6052eef041dd48b6c8a2e92866fad7938b156a 100755 (executable)
@@ -84,7 +84,7 @@ type = "'${test_variant#pci-}'"
 name = "domU"
 kernel = "/boot/vmlinuz"
 ramdisk = "/boot/initrd-domU"
-extra = "root=/dev/ram0 console=hvc0"
+extra = "root=/dev/ram0 console=hvc0 earlyprintk=xen"
 memory = 512
 vif = [ ]
 disk = [ ]
@@ -190,7 +190,7 @@ CONTROLLER=control@thor.testnet
 
 echo "
 multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G $extra_xen_opts
-module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0
+module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen
 module2 (http)/gitlab-ci/initrd-dom0
 " > $TFTP/grub.cfg