libvirt/qemu guests can't boot with -no-kvm
Bug #665359 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Fedora) |
Fix Released
|
High
|
|||
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Upstream QEmu does not support boot=on when using -no-kvm, so libvirt qemu domains fail to boot. This is:
https:/
Patch:
https:/
This definitely affects Lucid, but does not affect maverick. I don't know about earlier releases.
summary: |
- libvirt/qemu guests don't boot with -no-kvm + libvirt/qemu guests can't boot with -no-kvm |
Changed in libvirt (Fedora): | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
To post a comment you must log in.
Description of problem:
using 'no hardware acceleration' option in qemu (no-kvm) results a situation where vm is stuck on booting from hard drive.
when running same vm but using the '-enable-kvm' option, vm boots from hard drive and os is loaded.
qemu commands:
- qemu process with kvm enabled - vm boots from hard drive as expected
PID TTY STAT TIME COMMAND qemu-kvm -S -M rhel6.0.0 -cpu qemu64, +cx16,+ ssse3,- svm -enable-kvm -m 512 -smp 1,sockets= 1,cores= 1,threads= 1 -name libvirt-pool-07 -uuid 9362025d- 0906-4587- 9b0e-0561c25aaa 53 -nodefaults -chardev socket, id=monitor, path=/var/ lib/libvirt/ qemu/libvirt- pool-07. monitor, server, nowait -mon chardev= monitor, mode=control -rtc base=2010- 4-20T16: 23:34 -boot c -drive file=/rhev/ data-center/ 606d043c- ef9c-4c6f- 848b-5bd89325c7 8d/d9124e52- d42a-4b0c- 8657-523bc5b673 3b/images/ ad757a3f- bce5-4629- a91d-9d81bef593 77/afd1ef06- a03d-4751- 9348-2a4c1467f7 8f,if=none, id=drive- ide0-0- 0,boot= on,format= qcow2,serial= 29-a91d- 9d81bef59377, cache=none -device ide-drive, bus=ide. 0,unit= 0,drive= drive-ide0- 0-0,id= ide0-0- 0 -netdev tap,fd= 21,id=hostnet0 -device virtio- net-pci, netdev= hostnet0, id=net0, mac=00: 1a:4a:23: 71:17,bus= pci.0,addr= 0x4 -usb -device usb-tablet, id=input0 -vnc 0:0,password -k en-us -vga cirrus -device virtio- balloon- pci,id= balloon0, bus=pci. 0,addr= 0x3
31956 ? Sl 0:07 /usr/libexec/
PID TTY STAT TIME COMMAND
- qemu process with kvm disabled - vm doesn't boot from hard drive and stuck
on 'Booting from Hard disk...'
32322 ? Rl 0:08 /usr/libexec/ qemu-kvm -S -M rhel6.0.0 -cpu qemu64, +cx16,+ ssse3,- svm -no-kvm -m 512 -smp 1,sockets= 1,cores= 1,threads= 1 -name libvirt-pool-07 -uuid 9362025d- 0906-4587- 9b0e-0561c25aaa 53 -nodefaults -chardev socket, id=monitor, path=/var/ lib/libvirt/ qemu/libvirt- pool-07. monitor, server, nowait -mon chardev= monitor, mode=control -rtc base=2010- 4-20T16: 24:49 -boot cn -drive file=/rhev/ data-center/ 606d043c- ef9c-4c6f- 848b-5bd89325c7 8d/d9124e52- d42a-4b0c- 8657-523bc5b673 3b/images/ ad757a3f- bce5-4629- a91d-9d81bef593 77/afd1ef06- a03d-4751- 9348-2a4c1467f7 8f,if=none, id=drive- ide0-0- 0,boot= on,format= qcow2,serial= 29-a91d- 9d81bef59377, cache=none -device ide-drive, bus=ide. 0,unit= 0,drive= drive-ide0- 0-0,id= ide0-0- 0 -netdev tap,fd= 21,id=hostnet0 -device virtio- net-pci, netdev= hostnet0, id=net0, mac=00: 1a:4a:23: 71:17,bus= pci.0,addr= 0x4 -usb -device usb-tablet, id=input0 -vnc 0:0,password -k en-us -vga cirrus -device virtio- balloon- pci,id= balloon0, bus=pci. 0,addr= 0x3
versions:
vdsm-4.9-6.1.x86_64 0.12.1. 2-2.59. el6.x86_ 64 0.8.1-6. el6.x86_ 64 21.el6. x86_64 (RHEL 6)
qemu-kvm-
libvirt-
2.6.32-
How reproducible: always
Steps to Reproduce:
1. start vm and make sure -no-kvm arg is provided
2. access vm via vnc