kvm slackbuild error on Slackware 13.1 (64)
I would like to test "virt-manager" but "stumbled" with kvm..
http://slackbuilds.org/repository/13.1/system/kvm/ I got this error.. Code:
from /tmp/SBo/kvm-88/kvm/kernel/x86/external-module-compat.h:16, /Håkan |
|
2 Attachment(s)
Thank you, I already had this installed together with the other dependencies for virt-manager..
Code:
libvirt, Code:
spiken@hakan:~$ groups /Håkan |
Hi
You have to modprobe tun and possibly virtio as well. This worked for me I am currently installing FreeBSD-8.0 using the Virtual Machine Manager. samac |
Quote:
|
Quote:
samac |
Thank you, that fixed it! :)
Can I ask some more questions.. Where do you put this commands so it's done on "boot" (rc.modules?? rc.local??)? I saw that in FedoraCore there's a "skript" in /etc/init.d called "libvirtd" for libvirt but I cant see any hint of that in Slackware, and do you get the same "error" as I do (above) when "/usr/sbin/libvirtd %"? Where can I change "policy" so I dont have to be "root" when starting, I have done the "groupadd" (above)? My /home is the biggest partition so I would like to have the images there...how do I change that from the "default" /var/lib/libvirt ? /Håkan |
Quote:
Changing policy could be done by udev, but I'm not sure how. Changing the default for your images will probably be as easy as changing a line in a .conf file. Try searching for libvirt.conf, I would add that this is just a guess. samac |
I tried it in /etc/rc.d/rc.local
Code:
## for virt-manager I found that the "image-directory" can be changed in /etc/libvirt/storage/default.xml I choose a bad "title" on this thread, should have been something with "virt-manager" instead..but as I am "up and running" now I consider this "Solved". Again, many thanks to both of you for helping me.:hattip: /Håkan |
What specifically got it working, I just tried to build kvm and got the same error so I found this thread saying I needed qemu-kvm and built it but get this
bash-4.1# modprobe kvm-intel FATAL: Error inserting kvm_intel (/lib/modules/2.6.33.4-smp/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported bash-4.1# |
First, check if your cpu supports hardware virtualization: grep vmx /proc/cpuinfo
Then, check if it's enabled in your BIOS I'm assuming you have an Intel cpu.... |
Ahh, yea, more searching myself shows I don't have that flag. Found another post stating I need qemu-legacy and kqemu also to emulate it, I installed those, now I just need to figure out what to do with them.
|
All times are GMT -5. The time now is 05:10 PM. |