[libvirt] [PATCH] qemu: Finish domain shutdown on reconnect

Jiri Denemark jdenemar at redhat.com
Wed Sep 28 08:12:48 UTC 2011


On Tue, Sep 27, 2011 at 09:23:03 -0600, Eric Blake wrote:
> On 09/27/2011 07:04 AM, Jiri Denemark wrote:
> > If a domain started with -no-shutdown shuts down while libvirtd is not
> > running, it will be seen as paused when libvirtd reconnects to it. Use
> > the paused reason to detect if a domain was stopped because of shutdown
> > and finish the process just as if a SHUTDOWN event is delivered from
> > qemu.
> > ---
> >   src/qemu/qemu_process.c |   50 ++++++++++++++++++++++++++++++++--------------
> >   1 files changed, 35 insertions(+), 15 deletions(-)
> 
> ACK.

Pushed, thanks.

Jirka




More information about the libvir-list mailing list