mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29: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.
27 lines
601 B
Plaintext
27 lines
601 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-aarch64 \
|
|
-name aarch64-virt-default-nic \
|
|
-S \
|
|
-M virt \
|
|
-cpu cortex-a53 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-aarch64-virt-default/monitor.sock,server,\
|
|
nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-kernel /aarch64.kernel \
|
|
-initrd /aarch64.initrd \
|
|
-append console=ttyAMA0 \
|
|
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
|
|
-net user,vlan=0,name=hostnet0
|