| Summary: | spice client disconnect causing libvirt to shutdown domain | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | gvenkat <gvenkat> |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | crobinso, dallan, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-07 21:05:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
gvenkat
2011-07-03 22:49:46 UTC
PS: The Windows guest event logs don't show any problem so I don't believe the guest itself crashed prior to libvirt shutting down the domain. The guests behave as if the machine had a power shutdown. I believe this is not a libvirt error. On the line 104 we can see qemu crashed. That error message there is printed iff we talk to qemu via JSON but we did not receive SHUTDOWN event, which qemu sends upon domain shutdown. Moreover, receiving EOF on monitor means qemu process died. There could be meaningful message in /var/log/libvirt/qemu/Munchkin.log, isn't it? Thank you. You might be right about that and I am not familiar with the boundaries between libvirt and qemu-kvm. So I did some experiments to see the qemu-kvm log. To minimize the variables, I started the guest after a host reboot with virsh but did not connect any spice display. The guest remained stable. Next I brought up a spice client but did not do anything with it. The guest dies within a few minutes with the following lines in Munchkin.log (Munchkin is the name of the guest domain) qemu-kvm: virtio: trying to map MMIO memory 2011-07-07 12:05:03.740: shutting down From the previous logs I see that these lines precede every such crash but do not appear on subsequent restart of the domain when the guests stay stable long-term, it is only the first time after a host reboot that this happens. Searching on the web, I see one more report like that http://fossplanet.com/f13/re-%5Bfedora-virt%5D-windows-7-guest-dying-178326/ The OP reports that it went away by itself but I suspect that he has not realized it happens only the first time and then it is stable after that. Please feel free to close this if it is definitely related to libvirt but would appreciate a pointer to where I should file this bug for so the relevant people will take a look at it. Thanks That looks to me as well like qemu is crashing, not a libvirt bug. If it's qemu from source, I'd file a BZ with their upstream tracker: https://bugs.launchpad.net/qemu/ otherwise, I'd open it with your distro against qemu. |