Comment 9 for bug 1582990

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The following patch (so far RFC level) would avoid the error for all qemu shutdown modes supported (acpi and agent).

I checked that:
- no error message on acpi shutdown
- no error message on agent shutdown
- still reports the error when the guest is killed from "other sources" (we want that).
- still reports "other errors" on shutdown

It is just not adding the EOF issue or the fallback "there has to be an error" in case qemuMonitorEmitShutdown was passed setting mon->willhangup = 1.