In this post we will see if our hardware supports Virtualization with KVM/VMware ESXi server or not. The prerequisites are common for KVM/VMware virtualization’s. Below are some of the posts we already covered so far in our Virtualization series.
- What is Virtualization in Linux way?
- Types of Virtualization available in Linux/Unix
- Advantages of Virtualization
- What is KVM virtualization in Linux?
There are two mandatory hardware requirements for KVM/VMware ESXi server to get installed successfully.
- Hardware virtualization support in Host Processor is required
- The processor should be 64 bit processing.
Hardware virtualization support in Processor is required
In order KVM virtualization to work, the hardware should support virtualization. KVM is not like XEN virtualization which do a Paravirtualization. KVM requires complete commitment form hardware CPU to do virtualization.
Though your hardware supports KVM/VMware virtualization, we have to enable this future in our BIOS to make use of this capability. Please follow below screenshots on how to enable it.
Once you enable it and check if your VT-x/AMD-v settings as below.
To check if your processor is set with virtualization or not we have to search for vmx/svm in /proc/cpuinfo.
One Intel based machines:
Search for vmx if it support VT-x technology or not
grep vmx /proc/cpuinfo
firstname.lastname@example.org:/dev# grep -o vmx /proc/cpuinfo
Note1: My machine is core2 duo so it’s showing 4 vmx entries.
One AMD based machines:
grep -o svm /proc/cpuinfo
That’s it once you get the outputs we are all set to install KVM software on your machine.
The processor should be 64 bit processing
For KVM to work the processor and OS should be of 64 bit. Please check our last post for this.
Minimum requirements for KVM virtualization on Host machine:
- 6GB free harddisk disk space
- 2GB of RAM.
Recommended system requirements for KVM virtualization on host machine :
- 6GB plus the required disk space recommended by the guest operating system per guest.
- One processor core or hyper-thread for each virtualised CPU and one for the hypervisor.
- 2GB of RAM plus additional RAM for guests.
In next post we will see how to install KVM software on a Linux machine.
Latest posts by Surendra Anne (see all)
- Online training on Linux Bash shell scripting - February 8, 2018
- 15 iostat command examples in Linux/Unix - December 4, 2017
- How to Installing and Configuring Firewalld on Linux - November 29, 2017
- 4 sleep command examples in Linux/Unix - November 2, 2017
- 5 SSH alias examples in Linux - October 16, 2017