- *x86-64-test-needs
- alpine-3.18-gcc-debug
+adl-smoke-x86-64-dom0pvh-hvm-gcc-debug:
+ extends: .adl-x86-64
+ script:
+ - ./automation/scripts/qubes-x86-64.sh dom0pvh-hvm 2>&1 | tee ${LOGFILE}
+ needs:
+ - *x86-64-test-needs
+ - alpine-3.18-gcc-debug
+
adl-suspend-x86-64-gcc-debug:
extends: .adl-x86-64
script:
- *x86-64-test-needs
- alpine-3.18-gcc-debug
+zen3p-smoke-x86-64-dom0pvh-hvm-gcc-debug:
+ extends: .zen3p-x86-64
+ script:
+ - ./automation/scripts/qubes-x86-64.sh dom0pvh-hvm 2>&1 | tee ${LOGFILE}
+ needs:
+ - *x86-64-test-needs
+ - alpine-3.18-gcc-debug
+
zen3p-pci-hvm-x86-64-gcc-debug:
extends: .zen3p-x86-64
script:
disk = [ ]
'
-### test: smoke test & smoke test PVH
-if [ -z "${test_variant}" ] || [ "${test_variant}" = "dom0pvh" ]; then
+### test: smoke test & smoke test PVH & smoke test HVM
+if [ -z "${test_variant}" ] || [ "${test_variant}" = "dom0pvh" ] || [ "${test_variant}" = "dom0pvh-hvm" ]; then
passed="ping test passed"
domU_check="
ifconfig eth0 192.168.0.2
set -x
echo \"${passed}\"
"
-if [ "${test_variant}" = "dom0pvh" ]; then
+if [ "${test_variant}" = "dom0pvh" ] || [ "${test_variant}" = "dom0pvh-hvm" ]; then
extra_xen_opts="dom0=pvh"
fi
+if [ "${test_variant}" = "dom0pvh-hvm" ]; then
+ domU_config='
+type = "hvm"
+name = "domU"
+kernel = "/boot/vmlinuz"
+ramdisk = "/boot/initrd-domU"
+extra = "root=/dev/ram0 console=hvc0"
+memory = 512
+vif = [ "bridge=xenbr0", ]
+disk = [ ]
+'
+fi
+
### test: S3
elif [ "${test_variant}" = "s3" ]; then
passed="suspend test passed"
make xen.config && \
scripts/config --enable BRIDGE && \
scripts/config --enable IGC && \
+ scripts/config --enable TUN && \
cp .config .config.orig && \
cat .config.orig | grep XEN | grep =m |sed 's/=m/=y/g' >> .config && \
make -j$(nproc) bzImage && \