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.


** Patch added: "do not report error on expected shutdown"
   
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1582990/+attachment/4832905/+files/0001-qemu-monitor-do-not-report-error-on-shutdown.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1582990

Title:
  internal error: End of file from monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1582990/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to