On Fri, Jul 06, 2012 at 04:26:22PM +0100, Daniel P. Berrange wrote: > On Fri, Jul 06, 2012 at 04:13:26PM +0100, Richard W.M. Jones wrote: > > On Fri, Jul 06, 2012 at 04:06:13PM +0100, Daniel P. Berrange wrote: > > > On Fri, Jul 06, 2012 at 03:51:58PM +0100, Richard W.M. Jones wrote: > > > > > > > > Here is the output of virsh capabilities. It seems to make no sense. > > > > But it might indicate that something about detection of the > > > > qemu-kvm-1.1.0 binary fails, so libvirt assumes that it's not working. > > > > > > With luck libvirt should have said what's wrong via syslog. Can > > > you see if there were any log messages ? > > > > The full output of that failing command is: > > > > LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/bin/qemu-system-x86_64 -device ? -device pci-assign,? -device virtio-blk-pci,? -device virtio-net-pci,? -device scsi-disk,? > > KVM not supported for this target > > No accelerator found! > > > > Adding the option '-machine accel=kvm:tcg' fixes the output. > > Sigh, qemu-kvm.git has done a broken merge yet again. Binaries built from > qemu.git work fine when /dev/kvm is missing & this shoud not be changed > by qemu-kvm.git I've previously fixed it with > > commit ce967f6610dcd7b7762dbad5a639fecf42d5c76d > Author: Daniel P. Berrange <berrange@xxxxxxxxxx> > Date: Fri Aug 5 09:50:29 2011 +0100 > > Fix default accelerator when configured with --disable-kvm > > The default accelerator is hardcoded to 'kvm'. This is a fine > default for qemu-kvm normally, but if the user built with > ./configure --disable-kvm, then the resulting binaries will > not work by default > > * vl.c: Default to 'tcg' unless CONFIG_KVM is defined > > Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> > Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx> > > > but this code seems to have changed somewhat It was broken by this commit commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d Author: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> Date: Fri Mar 2 10:30:43 2012 +0100 qemu-kvm: Use machine options to configure qemu-kvm defaults Upstream is moving towards this mechanism, so start using it in qemu-kvm already to configure the specific defaults: kvm enabled on, just like in-kernel irqchips. Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list