$ dnf install -y \
libvirt \
libvirt-python \
libguestfs-tools \
qemu-kvm \
virt-install
$ systemctl enable libvirtd
$ systemctl start libvirtd
$ cat > /etc/polkit-1/rules.d/80-libvirt-manage.rules <<EOF
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
EOF
$ firewall-cmd --zone=trusted --change-interface=br0 --permanent
$ firewall-cmd --add-port=5900/tcp --permanent
$ firewall-cmd --reload
$ firewall-cmd --zone=FedoraServer --list-ports
$ usermod --append --groups libvirt `whoami`
- Arch Wiki: libvirt
- Gist: KVM Attempt
- Easy headless KVM deployment with virt-install
- Create network bridge with nmcli for libvirt
- Virt-manager fails to connect to system QEMU/KVM
- SPICE Server
- How do you configure virt-manager to use zfs zvol for KVM VMs?
- Configure FirewallD to allow bridged virtual machine network access