Re: how to install libvirt-python

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

 



OK. I am trying to install virt-manager from source but found it difficult!

So I decided to install from repo.

# yum install virt-manager libvirt
Dependencies Resolved

========================================================================================================================
 Package                       Arch                 Version                             Repository                 Size
========================================================================================================================
Installing:
 virt-manager                  x86_64               0.9.0-14.el6                        sl                        1.0 M
Installing for dependencies:
 libvirt-client                x86_64               0.10.2-18.el6_4.14                  sl-security               4.0 M
 libvirt-python                x86_64               0.10.2-18.el6_4.14                  sl-security               464 k
 python-virtinst               noarch               0.600.0-8.el6                       sl                        487 k

Transaction Summary
========================================================================================================================
Install       4 Package(s)

Total download size: 5.9 M


And I installed all of them.
However when I start virt-manager, I get this error


Error polling connection 'qemu:///system': internal error Cannot find suitable emulator for x86_64

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 440, in _tick
    conn.tick()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1422, in tick
    newNets, self.nets) = self._update_nets()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1285, in _update_nets
    lookup_func, build_class)
  File "/usr/share/virt-manager/virtManager/connection.py", line 1217, in _poll_helper
    if not check_support():
  File "/usr/share/virt-manager/virtManager/connection.py", line 509, in is_network_capable
    virtinst.support.SUPPORT_CONN_NETWORK)
  File "/usr/lib/python2.6/site-packages/virtinst/support.py", line 574, in check_conn_support
    return _check_support(conn, feature, conn)
  File "/usr/lib/python2.6/site-packages/virtinst/support.py", line 443, in _check_support
    actual_drv_ver = _hv_ver(conn, uri)
  File "/usr/lib/python2.6/site-packages/virtinst/support.py", line 376, in _hv_ver
    ret = cmd(*args)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 3385, in getVersion
    if ret == -1: raise libvirtError ('virConnectGetVersion() failed', conn=self)
libvirtError: internal error Cannot find suitable emulator for x86_64



However I have installed Qemu from source. For example

$ /usr/local/bin/qemu-x86_64 -version
qemu-x86_64 version 1.6.90, Copyright (c) 2003-2008 Fabrice Bellard


So what is the problem here?
 
Regards,
Mahmood
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux