TOPIC 3

Date: 2/5/2014
Server virtualization with KVM
Linux for Engineering and IT Applications


Virtualization with 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).



    Exercise
  • To see if the processor supports hardware virtualization:
    egrep -c '(vmx|svm)' /proc/cpuinfo
    
    If 0 it means that your CPU doesn't support hardware virtualization. If 1 or more it does - but you still need to make sure that virtualization is enabled in the BIOS.
  • Verify that the BIOS has virtualization enabled
    kvm-ok
    
    If it shows
    INFO: Your CPU supports KVM extensions
    INFO: KVM is disabled by your BIOS
    
    the Intel Virtualization Technology needs to be enabled in the BIOS.
    On the other hand, if you see the outbut below, the Intel-VT is enabled.
    INFO: Your CPU supports KVM extensions
    INFO: /dev/kvm exists
    KVM acceleration can be used
    



  • Take me to the Course Website