How to install KVM on Fedora 32

Step 1: Make sure your CPU has Intel VT or AMD-V Virtualization extension The
first step is to confirm that your CPU has Intel VT or AMD-V Virtualization extension. In some systems, this feature is disabled in the BIOS, you may need to enable it.

# cat / proc / cpuinfo | egrep "vmx | svm"
Step 2: Install KVM/QEMU
Install the required virtualization software packages on the Fedora system by running the following command:

# dnf -y install bridge-utils libvirt virt-install qemu-kvm
After installation, confirm that the kernel module has been loaded

# lsmod | grep kvm
kvm_intel 233472 0
kvm 737280 1 kvm_intel
also installs useful tools for virtual machine management.

# dnf -y install virt-top libguestfs-tools

Step 3: Start and enable the KVM daemon.
By default, libvirtd does not start the KVM daemon. Please use the following command to start the service:

# systemctl start libvirtd
then enable the service to start at boot

# systemctl enable libvirtd
Step 4: Install Virtual Machine Manager GUI
If you have the desktop version of Fedora, you can install virt-manager to provide users with a GUI interface to manage your virtual machines.


# dnf -y install virt-manager

Guess you like

Origin blog.csdn.net/allway2/article/details/108682096