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: Tue, 16 Mar 2010 15:26:14 +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
>
>  If I'm not missing something, -no-shutdown calls vm_stop(), which
> calls
> pause_all_vcpus().

Oh indeed, "info status" shows the VM as "paused".
I was misled because the GUI window was still open...

François.




reply via email to

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