> 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