qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -


From: François Revol
Subject: Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -no-shutdown
Date: Mon, 15 Mar 2010 17:36:29 +0100 CET

> >> Also, it seems -no-shutdown doesn't actually "stop the emulation"
> > > as
> >> said in the manual, it actually keeps the vm running (and using
> > > cpu),
> >> despite the OS trying to shutdown via ACPI. At least I tested so
> > > with
> >> Haiku (and acpi=true in kernel config), which properly exits QEMU
> >> without -no-shutdown.
> >>
> > Hmm, I think -no-shutdown should at least stop the CPUs executing.
> > It is
> > not really useful on its own though. The app managing QEMU would
> > want to
> > use the new JSON based monitor to listen for the SHUTDOWN event to
> > be
> > emitted, so it can detect the shutdown completing&  then take
> > action it
> > wants either reset the guest, or kill QEMU, etc
> >
>
> The semantics of -no-shutdown are awful.
>
> I'd personally prefer to see the option deprecated and a new set of
> options introduced with clearer semantics.
>
> Currently, -no-shutdown does too many things.  It affects reboot
> behaviour, shutdown behaviour, the behavior of the SDL close button.
> Each of these things should be individual tunables.

Indeed, it both means "do not allow user to close the vm" and "do not
allow the guest to stop (or reboot ?)" it seems...

François.




reply via email to

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