[libvirt] [PATCH] qemu: Distinguish between domain shutdown and crash

Jiri Denemark jdenemar at redhat.com
Thu Dec 9 12:43:14 UTC 2010


> > When we get an EOF event on monitor connection, it may be a result of
> > either crash or graceful shutdown. QEMU which supports async events
> > (i.e., we are talking to it using JSON monitor) emits SHUTDOWN event on
> > graceful shutdown. In case we don't get this event by the time monitor
> > connection is closed, we assume the associated domain crashed.
> > ---
> >  src/qemu/qemu_driver.c |   23 +++++++++++++++++++++++
> >  1 files changed, 23 insertions(+), 0 deletions(-)
> 
> ACK,

Thanks, pushed.

Jirka




More information about the libvir-list mailing list