install the package swtpm
-
If
virsh net-list
is not listing any network interface just reinitialize it with,sudo virsh net-define /usr/share/libvirt/networks/default.xml
-
Then just
autostart
it like so,sudo virsh net-autostart default
-
Step 1: Edit
/etc/libvirt/qemu.conf
file:sudo nano /etc/libvirt/qemu.conf
-
Step 2: Find the
user
andgroup
directives. By default, both are set to"root"
,[...] Some examples of valid values are: # user = "qemu" # A user named "qemu" user = "+0" # Super user (uid=0) user = "100" # A user named "100" or a user with uid=100 # #user = "root" The group for QEMU processes run by the system instance. It can be specified in a similar way to user. #group = "root" [...]
Uncomment both lines and replace root with your username and group with libvirt as shown below:
[...] Some examples of valid values are: # user = "qemu" # A user named "qemu" user = "+0" # Super user (uid=0) user = "100" # A user named "100" or a user with uid=100 # user = "sk" The group for QEMU processes run by the system instance. It can be specified in a similar way to user. group = "libvirt" [...]
-
Step 3: Restart libvirtd service:
sudo systemctl restart libvirtd
Original guide - http://wood1978.dyndns.org/~wood/wordpress/2013/07/22/arch-linux-setup-kvm-with-virt-manager-gui/comment-page-1/
KVM @ Arch Wiki - https://wiki.archlinux.org/index.php/KVM
libvirt @ Arch Wiki - https://wiki.archlinux.org/index.php/Libvirt
QEMU @ Arch Wiki - https://wiki.archlinux.org/index.php/QEMU
Network Interface Status - http://ask.xmodulo.com/network-default-is-not-active.html
Network Interface Troubleshooting - https://blog.programster.org/kvm-missing-default-network
Networking libvirt wiki - https://wiki.libvirt.org/page/Networking#NAT_forwarding_.28aka_.22virtual_networks.22.29
Fedora Wiki - Windows Virtio Drivers - https://stg.fedoraproject.org/wiki/Windows_Virtio_Drivers
Extend disk size Windows partition KVM QEMU VM - https://www.randomhacks.co.uk/how-to-extend-increase-a-windows-partition-on-kvm-qemu-vm/
Increasing a KVM machine disk space - https://serverfault.com/questions/324281/how-do-you-increase-a-kvm-guests-disk-space
Fixing Cannot access storage file, Permission denied Error in KVM Libvirt
- https://ostechnix.com/solved-cannot-access-storage-file-permission-denied-error-in-kvm-libvirt/