[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Thu, Dec 09, 2010 at 11:51:09AM +0100, Jiri Denemark wrote:
> 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,

Daniel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]