From Fedora Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Personal Note: KVM

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

Install KVM


Check VMX

  • KVM is full virtualization. To run fully-virtualized guests, it requires a CPU with VMX extension for Intel Processors.
$ cat /proc/cpuinfo  | grep vmx

flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi
mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl '''vmx''' est tm2 ssse3 cx16 xtpr lahf_lm

flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi
mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl '''vmx''' est tm2 ssse3 cx16 xtpr lahf_m

Check BIOS

  • On some Intel systems, virtualization support needs to be enabled in the BIOS. Please ensure that this has been done before proceeding.

Check KVM

  • To load kvm-intel,
$ su -c "/sbin/modprobe kvm-intel"
  • To see if kvm-intel module loaded,
$ /sbin/lsmod | grep kvm
kvm_intel              21965  0
kvm                    62885  1 kvm_intel

Screenshots

References