qemu: run: Add support for ppc64le (MR 2476)

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
Jens Reidel 2024-10-07 02:35:23 +02:00
parent 1e3e41907f
commit 828f80056e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -249,6 +249,9 @@ def command_qemu(
elif arch == Arch.riscv64:
command += ["-M", "virt"]
command += ["-device", "virtio-gpu-pci"]
elif arch == Arch.ppc64le:
command += ["-M", "pseries"]
command += ["-device", "virtio-gpu-pci"]
else:
raise RuntimeError(f"Architecture {arch} not supported by this command" " yet.")