Configure VM Acceleration on Ubuntu Linux
Overview
Let’s learn how to Configure VM Acceleration and Install KVM on Ubuntu Linux. VM acceleration support enables the Virtual Machines to run faster.
First things first, to use VM acceleration the processor should support Virtualization technology. Check the UEFI Firmware or BIOS settings and enable it if it’s not enabled.
- Intel -> VT-x
- AMD -> AMD-V
Ubuntu supports VM Acceleration through KVM software. KVM stands for Kernel based Virtual Machine.
Check KVM Install
Check whether KVM is installed on the Ubuntu machine.
Install CPU checker
Run the below command to install cpu-checker software package.
$ sudo apt install cpu-checker
Check KVM Acceleration
Run the kvm-ok command.
$ kvm-ok
The above command output should be the expected output.
Install KVM
$ sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils