[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [fedora-virt] qemu 1.1.0 in Rawhide, and planned backport to F17 (was: Re: Upgrading qemu to 1.1 in rawhide)

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 redhat com>
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 redhat com>
    Signed-off-by: Marcelo Tosatti <mtosatti redhat com>

but this code seems to have changed somewhat

|: 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 :|

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]