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
email@example.com:/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)
- FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018
- wget download a file to a directory in Linux/Unix - June 4, 2018
- GIT: How to compare two GIT branches? - June 3, 2018