KVM | Installation of KVM Packages

Опубликовано: 16 Октябрь 2018
на канале: Yogesh Mehta
13,224
74

KVM packages are part of base repositories. Use the appropriate package manager commands to install the packages. In our case we are using the CentOS 7 and host have default base and update repos to host the package requirements.

Install the Packages
yum install virt-install qemu-kvm libvirt libvirt-python libguestfs-tools virt-manager -y

Enable and Start the Services
systemctl enable libvirtd
systemctl start libvirtd
systemctl status libvirtd

A Clean System Reboot to ensure everything works after reboot
init 6

After the Host reboot, check libvirtd started successfully.
systemctl status libvirtd

Also need to ensure the kernel modules for KVM are loaded.
modinfo kvm_intel
modinfo kvm


Now the host system have required Packages and Modules enabled for KVM configurations