[Top][All Lists]
[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.
- Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -no-shutdown, (continued)
Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -no-shutdown, Daniel P. Berrange, 2010/03/15
Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -no-shutdown, Luiz Capitulino, 2010/03/16
- Re: [Qemu-devel] wake-on-lan & IPMI implementation; real power-off and -no-shutdown,
François Revol <=