Red Hat Bugzilla – Bug 652489
Fedora 14 Can't use >1 CPU as a KVM VM
Last modified: 2010-11-12 17:10:38 EST
Created attachment 459892 [details]
XML from 'virsh dumpxml' after a successful install on 1 CPU was modified to use 3 CPUs.
Description of problem:
Unable to run Fedora 14 x86_64 as a KVM VM with more than 1 CPU. Works fine as a Xen VM. It manifests as a hang very early in the boot process (see attached screen shot)
Version-Release number of selected component (if applicable):
Fedora 14 x86_64 up to date as of Nov. 10, host and VM.
Steps to Reproduce:
1. Provision a VM with >1 CPU. Alternatively, use virsh to redefine an existing VM to have more that 1 CPU.
2. Start the VM and connect over VNC.
3. Hang occurs very shortly after boot.
Hang happened while trying to provision using virt-manager GUI, virt-install and by modifying an existing VM to use >1 CPU.
See attached 'virsh dumpxml' file and attached screen shot of the hang.
Created attachment 459893 [details]
Screenshot of hang. Note the CPU usage in virt-manager (kvm-an-node07 -> vm_01)
I tried to simplify things with the following provision but it still hangs at the same place. If I remove '--vcpus 3' it works.
virt-install --connect qemu:///system --virt-type kvm --name hang_test --ram 3072 --arch x86_64 --location http://192.168.1.254/f14/x86_64/img/ --os-type linux --os-variant fedora14 --nodisk --vnc --vcpus 3
This seems to be OS specific. I tested a basic install using RHEL6 just now and it did not hang. Provision string was:
virt-install --connect qemu:///system --virt-type kvm --name hang_test --ram 3072 --arch x86_64 --location http://192.168.1.254/rhel6/x86_64/img/ --os-type linux --os-variant rhel6 --nodisk --vnc --vcpus 3
There appear to be a few similar bug reports. Is this a duplicate of bug #652373 or (possibly better) bug #644973?
bug #652373 sounds similar, but it sounds like that person is getting much further in than I am (I never see a countdown). This does seem to be a duplicate of bug #644973 though. I will close this as it's duplicate.
*** This bug has been marked as a duplicate of bug 644973 ***