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: Shlomo Pongratz
Subject: Re: [Qemu-discuss] qemu-system-aarch64 doesn't close after guest executes halt -f
Date: Thu, 5 Sep 2019 16:09:49 +0300

On Thu, Sep 5, 2019 at 3:04 PM Peter Maydell <address@hidden> wrote:
>
> 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

Thank,

I've tried to build Linux (5.2.1) with the configuration found in
arch/arm64/configs/defconfig
and yes Symbol: ARM_PSCI_FW [=y] in this configuration.
But still "halt -f" (busybox v1.31.0) doesn't make QEMU
(qemu-systme-aarch64 version qemu-3.1.0-9.fc30) exit.
(and again machine=virt).

Best regards,

S.P.



reply via email to

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