mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
396ca36cb0
Depending on the architecture, requirements for ACPI and UEFI can be different; more specifically, while on x86 UEFI requires ACPI, on aarch64 it's the other way around. Enforce these requirements when validating the domain, and make the error message more accurate by mentioning that they're not necessarily applicable to all architectures. Several aarch64 test cases had to be tweaked because they would have failed the validation step otherwise.
26 lines
610 B
Plaintext
26 lines
610 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-aarch64 \
|
|
-name aarch64test \
|
|
-S \
|
|
-M virt \
|
|
-cpu cortex-a53 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e8b \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-kernel /aarch64.kernel \
|
|
-initrd /aarch64.initrd \
|
|
-append 'earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait' \
|
|
-dtb /aarch64.dtb \
|
|
-device virtio-balloon-device,id=balloon0,deflate-on-oom=on
|