Tiny Core Extensions > TCE Bugs
virt-manager fails to import libxml2
Leee:
This is not an urgent thing, since I just downloaded virt-manager on a whim to try it out, but...
I downloaded and installed virt-manager.tcz on Core 15.0 / x86_64 and when I try to run it, I get the following error output:
--- Code: ---tc@dolly:~$ virt-manager
Traceback (most recent call last):
File "/usr/local/share/virt-manager/virt-manager", line 19, in <module>
from virtinst import BuildConfig
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/__init__.py", line 49, in <module>
from virtinst.domain import * # pylint: disable=wildcard-import
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/domain/__init__.py", line 5, in <module>
from .blkiotune import DomainBlkiotune
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/domain/blkiotune.py", line 8, in <module>
from ..xmlbuilder import XMLBuilder, XMLChildProperty, XMLProperty
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/xmlbuilder.py", line 16, in <module>
from .xmlapi import XMLAPI
File "/tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/xmlapi.py", line 7, in <module>
import libxml2
ModuleNotFoundError: No module named 'libxml2'
--- End code ---
Both libxml2.tcz and libxml2-python.tcz are loaded.
Looking at /tmp/tcloop/virt-manager/usr/local/share/virt-manager/virtinst/xmlapi.py line #7, it looks like libxml2-python should do the job, but apparently not (though I'm -still- not exactly a python guy).
Rich:
Hi Leee
You didn't mention it, so I have to ask, did you:
--- Code: ---$ sudo modprobe kvm-intel
$ sudo /usr/local/etc/init.d/dbus start
$ sudo libvirtd -d
$ sudo virtlogd -d
..then start virt-manager
--- End code ---
as specified by the .info file:
http://tinycorelinux.net/15.x/x86_64/tcz/virt-manager.tcz.info
Leee:
Ummm... no. :-[
But when I do that, modprobe fails with:
--- Code: ---tc@dolly:~$ sudo modprobe kvm-intel
modprobe: can't load module kvm-intel (kernel.tclocal/arch/x86/kvm/kvm-intel.ko.gz): Operation not supported
--- End code ---
Rich:
Hi Leee
I think that means your CPU doe not support virtualization.
Or it might mean virtualization is disabled in your BIOS.
Leee:
Thanks Rich
The CPU is an "Intel(R) Core(TM) i5-6200U" that supposedly has "Enhanced Virtualization" so I think it's ok. I'll reboot later today and snoop around the BIOS settings for anything having to do with virtualization. That wil, no doubt tell the story regarding kvm-intel.ko.gz but...
I'm wondering if any of that would have to do with loading the libxml2 stuff - seems unlikely to be related, though I suppose one never knows.
Navigation
[0] Message Index
[#] Next page
Go to full version