Re: cannot poweroff debian/mips64el on qemu

Peter Maydell <[email protected]>
Newsgroups gmane.linux.debian.ports.mips,gmane.comp.emulators.qemu.user
Message-ID <CAFEAcA-9-PfRfh7LkY_qD7yictDVgvTBzxQAWZbG=OMjCgz_GQ@mail.gmail.com>
On Sun, 19 Jan 2020 at 22:40, Jun Sun <[email protected]> wrote:
>
> When I do "poweroff" from debian/mips64el on qemu, qemu will hang in
> the end, rather than quitting the process.  See the kernel messages
> below. Last time when I tried 32bit debian/mipsel I was able to quit
> qemu completely.  Any thoughts?

Whether this is expected to work depends on the board model
(you don't give your QEMU command line). "exit the QEMU process"
happens when the guest powers down the emulated hardware,
so for this to work:
 * the h/w board being modelled needs to actually have a
   software-controllable powerdown feature (eg some device
   register the guest has to prod)
 * the QEMU model of that board needs to actually implement
   whatever the powerdown control is
 * the guest OS has to know about the control feature and
   use it

thanks
-- PMM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.