I tried getting rid of libvirt and invoking qemu directly but that did not help.
All of these fail the same way:
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian-507-i386-netinst.iso -net nic,vlan=0 -net user,vlan=0,hostname=emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian-507-i386-netinst.iso -cpu qemu32 -net nic,vlan=0 -net user,vlan=0,hostname=emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian-507-i386-netinst.iso -enable-kvm -net nic,vlan=0 -net user,vlan=0,hostname=emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian-507-i386-netinst.iso -enable-kvm -cpu qemu32 -net nic,vlan=0 -net user,vlan=0,hostname=emu -monitor pty -boot d
Attempting to boot Debian 5 32-bit guest gets as far as
"Decompressing Linux... Parsing ELF... done."
"Booting the kernel"
Then nothing. The kvm process spins the CPU 100% on the host.
Details:
$ uname -a
Linux lakshmi 2.6.35-24-generic-pae #42-Ubuntu SMP Thu Dec 2 03:21:31 UTC 2010 i686 GNU/Linux
$ lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
$ dpkg -S /usr/bin/kvm
qemu-kvm: /usr/bin/kvm
$ dpkg -l qemu-kvm | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================================-=================================================-==========================================================================
ii qemu-kvm 0.12.5+noroms-0ubuntu7.1 Full virtualization on i386 and amd64 hardware
$ ls -l /usr/bin/kvm
lrwxrwxrwx 1 root root 18 2011-01-09 09:54 /usr/bin/kvm -> qemu-system-x86_64
$
@Philippe Gauthier
I tried getting rid of libvirt and invoking qemu directly but that did not help.
All of these fail the same way:
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian- 507-i386- netinst. iso -net nic,vlan=0 -net user,vlan= 0,hostname= emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian- 507-i386- netinst. iso -cpu qemu32 -net nic,vlan=0 -net user,vlan= 0,hostname= emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian- 507-i386- netinst. iso -enable-kvm -net nic,vlan=0 -net user,vlan= 0,hostname= emu -monitor pty -boot d
qemu -M pc -hda /img/lenny-vol.img -m 1024 -cdrom /iso/debian- 507-i386- netinst. iso -enable-kvm -cpu qemu32 -net nic,vlan=0 -net user,vlan= 0,hostname= emu -monitor pty -boot d
Attempting to boot Debian 5 32-bit guest gets as far as
"Decompressing Linux... Parsing ELF... done."
"Booting the kernel"
Then nothing. The kvm process spins the CPU 100% on the host.
Details:
$ uname -a 24-generic- pae #42-Ubuntu SMP Thu Dec 2 03:21:31 UTC 2010 i686 GNU/Linux 0-ia32: core-2. 0-noarch: core-3. 0-ia32: core-3. 0-noarch: core-3. 1-ia32: core-3. 1-noarch: core-3. 2-ia32: core-3. 2-noarch: core-4. 0-ia32: core-4. 0-noarch Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ======- ======= ======= ======= ======= ======= ======= ======= -====== ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== noroms- 0ubuntu7. 1 Full virtualization on i386 and amd64 hardware
Linux lakshmi 2.6.35-
$ lsb_release -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
$ dpkg -S /usr/bin/kvm
qemu-kvm: /usr/bin/kvm
$ dpkg -l qemu-kvm | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii qemu-kvm 0.12.5+
$ ls -l /usr/bin/kvm
lrwxrwxrwx 1 root root 18 2011-01-09 09:54 /usr/bin/kvm -> qemu-system-x86_64
$