Virtualization is enabled in bios
i execute the following commnads:
$ kvm-img create -f qcow2 win-2k3.img 20G
out: Formatting 'win-2k3.img', fmt=qcow2 size=21474836480 encryption=off cluster_size=0
$ kvm -m 1024 -cdrom Win-img.iso.iso -drive file=win-2k3.img,if=scsi,boot=on
out: open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000000a0000
EAX=0000005a EBX=00006f52 ECX=00000000 EDX=00000000
ESI=00000205 EDI=0000f001 EBP=0000ff9a ESP=00006f34
EIP=0009ffc1 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =07c0 00007c00 0000ffff 00009300
CS =0000 00000000 0000ffff 00009b0f
SS =0000 00000000 0000ffff 00009300
DS =0000 00000000 0000ffff 00009300
FS =0000 00000000 0000ffff 00009300
GS =0000 00000000 0000ffff 00009300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 000f7a10 00000037
IDT= 00000000 000003ff
CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
CCS=0000005a CCD=000000f4 CCO=ADDB
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Cancelled
any ideas?
greetings
Hello,
from the error you got at the beginning (/dev/kvm not found) it seems that you don't have the kvm modules loaded. Do you have Intel or AMD processor? Did you loaded the right kvm module? Did you receive any error while doing that?
cheers
graziano
Hello,
you can read our community wiki: we have few pages on how to create images (you can start from scratch or modify a prepackaged one).
To install kvm I think you should refer to the distro instruction: which distributions are you using and which version? Does your hardware support hardware virtualization?
cheers
graziano