How do i check if my server is ready to use kvm?



  • KVM stands for Kernel-Based Virtual Machine. It allows the linux kernel to run as an hypervisor.

    Make sure the hardware virtualization is supported, know as Intel VT-x or AMD-V

    $ egrep -c '(vmx|svm)' /proc/cpuinfo
    

    or you can run kvm-ok, by installing the package cpu-checker

    $ kvm-ok INFO: /dev/kvm exists
    KVM acceleration can be used
    

    otherwise you'll see:
    INFO: Your CPU does not support
    KVM extensions KVM acceleration can NOT be used

    You can still run KVM, just mean it will be slower.



© Lightnetics 2024