From 0a4e33ffde38f4e8061eec2098e4fdf046b9a25e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 4 Jan 2022 16:36:46 +0100 Subject: [PATCH] qemuxml2argvdata: Use proper arch and emulator for aarch64 real capability tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upcoming patches will modify how we populate the capability cache in tests to be more sane. This also means that the emulator binary and architecture used in the test files using real capabilities must match what the real capabilities have. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-4.0.0.args | 3 ++- .../qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args | 3 ++- tests/qemuxml2argvdata/disk-arm-virtio-sd.xml | 5 ++--- .../qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml | 5 ++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-4.0.0.args b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-4.0.0.args index afce523c1b..8049306445 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-4.0.0.args +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-4.0.0.args @@ -7,7 +7,7 @@ XDG_DATA_HOME=/tmp/lib/domain--1-armtest/.local/share \ XDG_CACHE_HOME=/tmp/lib/domain--1-armtest/.cache \ XDG_CONFIG_HOME=/tmp/lib/domain--1-armtest/.config \ QEMU_AUDIO_DRV=none \ -/usr/bin/qemu-system-arm \ +/usr/bin/qemu-system-aarch64 \ -name guest=armtest,debug-threads=on \ -S \ -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-armtest/master-key.aes \ @@ -24,6 +24,7 @@ QEMU_AUDIO_DRV=none \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc \ -no-shutdown \ +-no-acpi \ -boot strict=on \ -kernel /arm.kernel \ -initrd /arm.initrd \ diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args index 3acd6491e4..c51be77654 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args @@ -6,7 +6,7 @@ LOGNAME=test \ XDG_DATA_HOME=/tmp/lib/domain--1-armtest/.local/share \ XDG_CACHE_HOME=/tmp/lib/domain--1-armtest/.cache \ XDG_CONFIG_HOME=/tmp/lib/domain--1-armtest/.config \ -/usr/bin/qemu-system-arm \ +/usr/bin/qemu-system-aarch64 \ -name guest=armtest,debug-threads=on \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-armtest/master-key.aes"}' \ @@ -25,6 +25,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-armtest/.config \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc \ -no-shutdown \ +-no-acpi \ -boot strict=on \ -kernel /arm.kernel \ -initrd /arm.initrd \ diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml b/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml index 0a6482fd4a..45a2192d48 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml @@ -5,14 +5,13 @@ 1048576 1 - hvm + hvm /arm.kernel /arm.initrd /arm.dtb console=ttyAMA0,115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0 - @@ -21,7 +20,7 @@ restart restart - /usr/bin/qemu-system-arm + /usr/bin/qemu-system-aarch64 diff --git a/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml b/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml index 7b07c8d3d7..962dc8f367 100644 --- a/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml +++ b/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml @@ -5,7 +5,7 @@ 1048576 1 - hvm + hvm /arm.kernel /arm.initrd console=ttyAMA0,115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0 @@ -13,7 +13,6 @@ - @@ -25,7 +24,7 @@ restart restart - /usr/bin/qemu-system-arm + /usr/bin/qemu-system-aarch64