I'm facing a strange problem. I thought that kvm was just a modified version of qemu for hardware acceleration. Now I'm trying to run a VM on different computers using qemu without acceleration. This is not for production, simply for hacking a little bit on a machine that does not support kvm.
The VM is a debian testing, whith LVM, created using virt-manager with virtio activated for both networking and disk.
When I try to run the VM manually (without the complicated full libvirt command line) the VM just works, using the command
Now when I try to boot the VM with qemu:
qemu myVM.img, the VM boots and grub loads just fine, but fails loading debian. The machine freezes without any message (no output from kernel at all).
The full kvm command line is given below, in case this may help:
/usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name myVM -uuid 312ff690-5f11-2222-a8b9-1337a545652a -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/myVM.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot dc -drive file=/var/lib/libvirt/images/myVM.img,if=none,id=drive-virtio-disk0,boot=on,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:eb:bb:77,bus=pci.0,addr=0x3 -net tap,fd=41,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
Do you have some clue about what I could try ? Thanks !
kvm -no-kvm as suggested, the machine loads with errors. I'll try to list those errors soon.