On Wed, Jun 13, 2018 at 02:30:23PM +0300, Mathieu Tarral wrote:
Hi !
I'm trying to reproduce a bug that i'm facing with libvirt 3.0.0 on
Debian stretch.
I compiled the latest stable libvirt (4.4.0), and installed it:
./autogen.sh
./configure --prefix=$HOME/usr --localstatedir=/var
make
sudo make install
But when i try to run ~/usr/bin/virsh version, it complains with this message:
virsh # version
Compiled against library: libvirt 4.4.0
Using library: libvirt 4.4.0
Using API: QEMU 4.4.0
error: failed to get the hypervisor version
error: internal error: Cannot find suitable emulator for x86_64
This is what i can find in the output of ~/usr/sbin/libvirtd:
2018-06-13 11:30:17.361+0000: 27502: error :
virCapabilitiesDomainDataLookupInternal:736 : invalid argument: could
not find capabilities for arch=x86_64 domaintype=qemu
2018-06-13 11:30:17.361+0000: 27502: error :
virQEMUCapsGetDefaultVersion:1455 : internal error: Cannot find
suitable emulator for x86_64
My environment has not changed, QEMU is still installed.
Can you help me understand what is wrong here ?
What version of QEMU do you have installed ? Libvirt has recently
become more aggressive at requiring modern QEMU versions, so its
possible if your old libvirt was running against old QEMU, that
might not be supported with new libvirt.
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|