grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/10] grub-shell: Boot PowerPC using PMU instead of CUDA for pow


From: Glenn Washburn
Subject: [PATCH 08/10] grub-shell: Boot PowerPC using PMU instead of CUDA for power management
Date: Fri, 17 Sep 2021 23:04:02 +0000

At some point it looks like the defualt machine for qemu-system-ppc started
using CUDA as a backend for power management. This causes the machine to
throw an exception and not actually power down the VM[1]. Switching to PMU
allows power downs and reboots to work as expceted.

[1] https://gitlab.com/qemu-project/qemu/-/issues/624

Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 tests/util/grub-shell.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
index 93e9f5148..5354d8678 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -84,6 +84,7 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
        serial_null="-serial null"
        netbootext=elf
        trim=1
+       qemuopts="-M mac99,via=pmu $qemuopts"
        ;;
 
     sparc64-ieee1275)
-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]