kvm - theoretically installed, but missing /dev/kdm
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
kvm - theoretically installed, but missing /dev/kdm
I just compiled the new 2.6.20.1 kernel on my Slackware 11.0, with kvm (kernel based virtual machine) selected, as a driver, not a module. I then compiled (and installed) kvm-12 from sourceforge. After a while, I finally got that to work too.
Now, when I try to run it, this is what I get:
Quote:
$ /usr/local/bin/qemu . -hda vdisk.img -cdrom /dev/hdc -boot d \ -m 192
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: could not open hard disk image '192'
And, there is no /dev/kvm, although I double checked: it is selected in gconfig, as it was when I compiled the kernel....
I don't get it... what am I doing wrong?
Should I try to compile it as a module?
Thanks for reading. Any info/suggestion is welcomed.
Hmm, thanks, I haven't thought about that...
Err... I take it that if I don't have that option, my processor doesn't support virtual machines, and I can't use KVM, right? Darn... Guess I'm stuck with having windoze partitions...
Me
Well, it's an AMD Athlon 2200+
And it doesn't have virtualisation unfortunately... I forgot to check before I tried to make kvm run...
Do you think I could make it work with other programs (vmware, bochs,etc)? Bochs does work, but it does so incredibly slow, although I [think I] set it up correctly...
Although somehow I think it's easier to format my computer every time I want to try out a new linux distro or need to reinstall windoze (because it stopped working)...
Yes, you can use VMware or other software to install virtual distro's and I think this is faster then formatting all the time. Even if the installation of VMWare takes some time to make it all work the way it should. Then this is still faster then formatting all the time .
I suggest taking a look at VMware alternatives such as VirtualBox by Innotek.
Well, it's an AMD Athlon 2200+
Do you think I could make it work with other programs (vmware, bochs,etc)?
you don't have to use anything else.
While your processor doesn't support hardware virtualisation - you still can emulate things on CPU. In fact i am running another os on laptop that is 5 and a half years old. One of first amd64 CPU's on notebooks. If not the first one.(host - gentoo, guest - ubuntu)
As far as I am aware, KVM was built upon qemu. quemu didn't require hardware support.
I understand you probably dont care about it anymore, but there could be other poor souls affected by same problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.