[libvirt-users] How to tell libvirt not to use qemu "accel=kvm" for a FreeBSD guest

Eric Blake eblake at redhat.com
Thu Nov 14 14:11:24 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131114/588fe002/attachment.sig>


More information about the libvirt-users mailing list