Red Hat Bugzilla – Bug 508767
host crash when libvirtd is run
Last modified: 2009-07-14 14:01:31 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start libvirtd and qemu on virtual machines that ran fine under Fedora 11.
Host doesn't hang.
libvirt.x86_64 0.6.2-12.fc11 @updates
qemu.x86_64 2:0.10.5-3.fc11 @updates
I don't see anything in /var/log/messages. Are there other log files I should be looking in?
I had to disable libvirtd and qemu from automatically starting at boot to avoid these crashes.
I have two virtual machines that were starting up automatically: one is fedora 10, the other is Vista. Both are 64 bit.
The host machine is an Apple desktop with 2 Xeon E5462 quad core Intel chips and 8G of memory.
I'm not sure what else needs to be collected as relevant information, but let me know and I'll get what you need.
What exactly do you mean by "host crash" - is this a kernel oops, or a lock up, or ...?
If you make it so the guests don't start automatically, does libvirtd start okay at boot? If so, then which of the guests causes the host to crash?
Hopefully this wiki page helps in gathering the information we need:
https://fedoraproject.org/wiki/Reporting virtualization bugs
I mean the host locks up, the cursor and keyboard are dead, and I have to hold the power button down for a while to force a shut off.
No oops message is apparent.
The page you pointed me to is empty.
One potential reason for the issue is that I installed F11 to a new partition, and then copied in the /etc/libvirt files from the old F10 partition (doing diffs where the files were installed as part of F11 to make sure I wasn't overwriting anything important that had changed). It's possible the F11 install would have migrated my qemu machine definitions in some way if I had done an upgrade.
I haven't tried disabling automatic startup yet, but I can do that next week when I'm back in the office. It's a busy week with a company wide offsite for three days, so I'll likely not get to it until Friday (Jul 10).
URL is https://fedoraproject.org/wiki/Reporting_virtualization_bugs
What you describe sounds like a kernel bug, so moving there. Please do try disabling automatic startup and report back your results
I removed the state I'd copied over from my F10 install and recreated my three virtual machines with the existing virtual disks (they're LVM logical volumes). Everything is working fine, so I'd say don't waste your time trying to narrow the issue down. It's likely due to me copying the /etc/libvirtd/qemu/* files from my old F10 image to the new F11 image that caused the problem.
Perhaps if I'd done an upgrade the .xml files would have been modified in some way?
THe XML files don't need any changes upon upgrade, since libvirt guarantees 100% stability / compatability of its XML data formats.
Regardless your host OS should never crash upon launching a VM. If you think you might be able to get a kernel panic log / more debugging, leave this BZ open, otherwise close it INSUFFICIENT_DATA.
Realistically, I'm not going to get a chance to poke around on this any further.