Network Security Manager On-Premises Getting Started Guide
Installing KVM
After confirming that your system can support KVM virtualization, you can start installing KVM. To install KVM, virt-manager, bridge-utils and other dependencies, run the following command:
$ sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager
-
The qemu package (quick emulator) is an application that allows you to perform hardware virtualization.
-
The qemu-kvm package is the main KVM package.
-
The libvritd-daemon is the virtualization daemon.
-
The bridge-utils package helps you create a bridge connection to allow other users to access a virtual machine other than the host system.
-
The virt-manager is an application for managing virtual machines through a graphical user interface.
Next, you need to confirm that the virtualization daemon, libvritd-daemon, is running by executing the following command:
$ sudo systemctl status libvirtd
libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-10-18 15:08:34 PDT; 1 months 16 days ago
If you want to start it on boot, you can run this command:
$ sudo systemctl enable --now libvirtd
To check if the KVM modules are loaded, run the following command:
$ lsmod | grep -i kvm
From the output, you can observe the presence of the kvm_intel module. However, this is the case for Intel processors. For AMD CPUs, you get the kvm_amd output instead:
$ lsmod | grep -i kvm
kvm_intel 282624 0
kvm 663552 1 kvm_intel
Was This Article Helpful?
Help us to improve our support portal