RE: open /dev/kvm: No such file or directory

From: Dor Laor
Date: Thu Dec 28 2006 - 08:44:19 EST




>On linux-26..20-rc2, "modprobe kvm-intel" loaded the module
>successful, but running qemu returns a error ...
>
>/usr/local/kvm/bin/qemu -hda vdisk.img -cdrom cd.iso -boot d -m 128
>open /dev/kvm: No such file or directory
>Could not initialize KVM, will disable KVM support

Are you sure the kvm_intel & kvm modules are loaded?
Maybe you're bios does not support virtualization.
Please check your dmesg.

>
>/dev/kvm does not exist.... should I create this before running qemu?
>If so, what's the parameters to "mknod"?

It's a dynamic misc device, you don't need to create it.

>
>
>Thanks,
>Jeff.
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/