When starting the installation of the L2 guest, L0 kills L1. Switching
the L2 guest back to Debian Buster works fine, so do that to prevent
regression in the test.
Part of the logs from the host L0:
> domain_crash called from arch/x86/hvm/vmx/vvmx.c:2770
> Domain 3 (vcpu#0) crashed on cpu#4:
> d3v0 vmentry failure (reason 0x80000021): Invalid guest state (2)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen-4.3-testing) return;;
esac
+ local l2_runvar
+ case $guestsuite in
+ bookworm)
+ # Bookworm install image lead to a crash of l1, so keep using
+ # Buster's image.
+ l2_runvar=(l2_suite=buster)
+ l2_runvar+=(l2_image=$(usual_debianhvm_image amd64 buster))
+ ;;
+ *)
+ l2_runvar=(l2_image=$(usual_debianhvm_image amd64))
+ ;;
+ esac
+
for cpuvendor in amd intel; do
job_create_test test-$xenarch$kern-$dom0arch$qemuu_suffix-nested-$cpuvendor \
l1_vifmodel='e1000' \
l1_memsize='3072' \
l1_enable_nestedhvm='true' \
- l2_image=$(usual_debianhvm_image amd64) \
+ ${l2_runvar[@]} \
bios=$bios \
all_hostflags=$most_hostflags,hvm-$cpuvendor
usual_debianhvm_image () {
local arch=$1; shift
+ local suite=${1:-$guestsuite}
if [ -n "$DEBIAN_IMAGE_FILE" ]; then
echo $DEBIAN_IMAGE_FILE
return
fi
- local file=`getconfig DebianImageFile_${guestsuite}_${arch}`
+ local file=`getconfig DebianImageFile_${suite}_${arch}`
if [ -n "$file" ]; then
echo $file
return
fi
local ver=$DEBIAN_IMAGE_VERSION
if [ -z "$ver" ] ; then
- ver=`getconfig DebianImageVersion_$guestsuite`
+ ver=`getconfig DebianImageVersion_$suite`
fi
echo debian-$ver-$arch-CD-1.iso
}