You are not logged in.

#1 2021-04-06 09:56:52

tomsk
Member
Registered: 2016-12-17
Posts: 224

Cannot start VM anymore

Hello,

I use KVM for gaming using GPU Passthrough for over one year, but now I cannot start virt-manager, because I get this error:

[tomsk@tomsk-PC ~]$ virt-manager
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 21, in <module>
    import cygvirtmod as libvirtmod  # type: ignore
ModuleNotFoundError: No module named 'cygvirtmod'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/virt-manager", line 6, in <module>
    from virtManager import virtmanager
  File "/usr/share/virt-manager/virtManager/virtmanager.py", line 19, in <module>
    from virtinst import BuildConfig
  File "/usr/share/virt-manager/virtinst/__init__.py", line 43, in <module>
    _set_libvirt_error_handler()
  File "/usr/share/virt-manager/virtinst/__init__.py", line 33, in _set_libvirt_error_handler
    import libvirt
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 24, in <module>
    raise lib_e
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 18, in <module>
    import libvirtmod  # type: ignore
ImportError: /usr/lib/libvirt.so.0: version `LIBVIRT_6.10.0' not found (required by /usr/lib/python3.9/site-packages/libvirtmod.cpython-39-x86_64-linux-gnu.so)

and when I try to start VM (Windows 10) using command line I am stuck at Start boot option in TianoCore.
https://i.imgur.com/Rz2OFYs.jpg


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#2 2021-04-06 11:24:14

jonathon
Member
Registered: 2016-09-19
Posts: 128

Re: Cannot start VM anymore

tomsk wrote:
ImportError: /usr/lib/libvirt.so.0: version `LIBVIRT_6.10.0' not found (required by /usr/lib/python3.9/site-packages/libvirtmod.cpython-39-x86_64-linux-gnu.so)

This implies a partial upgrade, libvirt is currently version 7.1.0. Make sure you are fully up-to-date, and if "there is nothing to do" then check/update your mirror list.

Offline

#3 2021-04-06 12:11:19

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: Cannot start VM anymore

Sorry I had it in IgnorePkg, now I can start virt-manager, but when I start my VM it keeps restarting --> https://i.imgur.com/Rz2OFYs.jpg, I can dual boot into it without issues, but my VM cannot boot it anymore (I use raw format for disks).


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

Board footer

Powered by FluxBB