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.
23 lines
613 B
XML
23 lines
613 B
XML
<domain type="qemu">
|
|
<name>aarch64-virt-default-nic</name>
|
|
<uuid>6ba410c5-1e5c-4d57-bee7-2228e7ffa32f</uuid>
|
|
<memory>1048576</memory>
|
|
<currentMemory>1048576</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<cpu match='exact'>
|
|
<model>cortex-a53</model>
|
|
</cpu>
|
|
<os>
|
|
<type arch="aarch64" machine="virt">hvm</type>
|
|
<kernel>/aarch64.kernel</kernel>
|
|
<initrd>/aarch64.initrd</initrd>
|
|
<cmdline>console=ttyAMA0</cmdline>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:09:a4:37'/>
|
|
</interface>
|
|
</devices>
|
|
</domain>
|