I've been trying to get some kind of virtualisation solution for my Slackware64, and I'd been having an absolute nightmare trying to get virtualbox to work on my Slackware64 install, so I decided to ditch it and move to KVM instead, as a type 1 hypervisor, having had success with QEMU in the past.
I installed qemu-kvm along with all the dependencies using sbopkg, and I didn't have any problems building it, nor creating a user for kvm, or anything of that sort. However, now if I try to open a .iso on a disk image I created using qemu:
qemu-img create -f qcow2 ubuntu.qcow 4G
Which I am then easily able to access with qemu using the following command:
qemu ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 &
(I have an old ubuntu 8.10.iso on my PC that I used just to see if the thing would work)
This works just as expected. However, if I try to launch the same .iso using kvm
kvm -hda ubuntu.qcow -cdrom /ISO/ubuntu-8.10-dvd-i386.iso -m 256 -boot -d &
all I get is "bash: command not found: kvm"
I have already loaded the following modules: kvm, kvm-intel, tun. Could I be missing something?
Has anyone successfully got KVM to work before and thinks they could help me?
Also just noticed that though I have created a group for kvm and added myself to libvirt, but when I issue the command "groups" neither of them are there, though I did use:
groupadd -g 221 kvm
And I was under the impression that I just needed to add my user to libvirt, without needing to manually create the group itself.
I may have misunderstood the procedure for installing this properly, but I'm not sure what I've done wrong.