[libvirt] [PATCH] qemu: Properly detect crash of a rebooted domain

Jiri Denemark jdenemar at redhat.com
Fri Sep 16 15:24:20 UTC 2011


On Tue, Sep 13, 2011 at 10:59:50 -0600, Eric Blake wrote:
> On 09/13/2011 10:53 AM, Jiri Denemark wrote:
> > When a domain is rebooted using libvirt API, we use fake reboot
> > consisting of shutting down and resetting the domain. Thus we see a
> > SHUTDOWN event and set gotShutdown flag. But we never reset it back and
> > if the domain crashes after it was rebooted this way, we consider it was
> > a normal shutdown and not a crash.
> > ---
> >   src/qemu/qemu_process.c |    1 +
> >   1 files changed, 1 insertions(+), 0 deletions(-)
> 
> ACK.

Thanks, pushed.

Jirka




More information about the libvir-list mailing list