mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-28 22:32:19 +00:00
qemu: Support OVMF on armv7l aarch64 guests
Currently, we are whitelisting architectures, that we know how to run OVMF on. So far, only x86_64 was enabled. However, looking at qemu code, the same commandline can be used to enable OVMF for armv7l and aarch64. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> (cherry picked from commit 6d8054b68407a3385b33c867a425ad8278b0b8f0)
This commit is contained in:
parent
1a06da1fa2
commit
51a90abdc6
@ -7563,7 +7563,9 @@ qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
|
|||||||
|
|
||||||
case VIR_DOMAIN_LOADER_TYPE_PFLASH:
|
case VIR_DOMAIN_LOADER_TYPE_PFLASH:
|
||||||
/* UEFI is supported only for x86_64 currently */
|
/* UEFI is supported only for x86_64 currently */
|
||||||
if (def->os.arch != VIR_ARCH_X86_64) {
|
if (def->os.arch != VIR_ARCH_X86_64 &&
|
||||||
|
def->os.arch != VIR_ARCH_ARMV7L &&
|
||||||
|
def->os.arch != VIR_ARCH_AARCH64) {
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
|
||||||
_("pflash is not supported for %s guest architecture"),
|
_("pflash is not supported for %s guest architecture"),
|
||||||
virArchToString(def->os.arch));
|
virArchToString(def->os.arch));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user