On 11/13/2013 02:53 PM, Christian Gagneraud wrote:
Hi there,
I have used qemu to install FreeBSD 9.2 release, and i can boot it fine
with:
$ qemu-system-x86_64 -hda images/FreeBSD-9.2-RELEASE-amd64.img
I then made virsh aware of my brand new VM (see attached XML), but when
i run it via virsh, It hangs after the bootloader whith this message:
Booting...
CPU doesn't support long mode
After many attempts, I pinned down the problem. To be able to boot the
machine with the above command, I had to remove:
* the accel=kvm in -machine
* the -S (to "autostart" the VM)
And change the -net tap,fd=24 to -net user,id=...
I'm glad that you were able to figure out how to work around it in the
meantime, and how to let libvirt force slower TCG emulation. Meanwhile,
you should still report this bug to the qemu folks; it is a qemu bug
that KVM mode isn't able to run a guest when TCG mode manages just fine.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org