qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] qemu-system-aarch64 doesn't close after guest execute


From: Peter Maydell
Subject: Re: [Qemu-discuss] qemu-system-aarch64 doesn't close after guest executes halt -f
Date: Thu, 5 Sep 2019 13:04:04 +0100

On Thu, 5 Sep 2019 at 12:10, Shlomo Pongratz <address@hidden> wrote:
> Thank you,
> I've added the GONFIG_GPIO_PL061 (isn't it emulated on realview only?)

No, the 'virt' board provides a PL061, largely just for
this kind of power control purpose. I've just remembered
though that the PL061 is for power-control in the other
direction -- it allows you to shut down QEMU from outside
the VM by providing effectively an emulated power button.
The mechanism used for the VM to shut itself down should
be the PSCI power-control APIs. Check you have CONFIG_ARM_PSCI_FW
in your kernel config.

> and CONFIG_KEYBOARD_GPIO and also added The CONFIG_POWER_RESET_GPIO.
> But the QEMU still doesn't exit after halt -f.
> Is there a Linux config file that is known to be able to make QEMU
> exit that I and use as starting point?

Yes, try the arm64 defconfig.

thanks
-- PMM



reply via email to

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