On Wed, Mar 21, 2012 at 1:48 PM, Eric Blake <eblake@redhat.com> wrote:
[please don't top-post on technical lists]

On 03/21/2012 11:45 AM, Shawn Davis wrote:
> I installed qemu 1.0 from source from the qemu site and all of the
> dependencies it needed.  I rebooted my system and now if I type virsh
> version I get:
>
> Compiled against library: libvir 0.9.2
> Using library: libvir 0.9.2
> Using API: QEMU 0.9.2
> Error: failed to get the hypervisor version
> Error: internal error Cannot find suitable emulator for x86_64

Older libvirt had a bug where it wouldn't parse qemu 1.0 version (the
change from 3 digits to 2 confused the older libvirt).  If you're going
to go with self-built qemu, you might also want to try self-built
libvirt 0.9.10.

--
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

I installed libvirt 0.9.10 from source and now virsh is not finding the following:

testa@testaT4:~$ virsh list
virsh: /usr/lib/libvirt-qemu.so.0: version `LIBVIRT_QEMU_0.9.4' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.10' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.9' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.7' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.8' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.3' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.5' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.10' not found (required by virsh)
virsh: /usr/lib/libvirt.so.0: version `LIBVIRT_0.9.4' not found (required by virsh)

I can't install qemu 1.0 and libvirt 0.9.10 through apt right?  I assume I had to get them from source.  Anyways, please let me know how I can get virsh to see that I have 0.9.10.  Once I get this working and can run that monitor command I will be in good shape.

Thanks!
Shawn