8,560
edits
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 8: | Line 8: | ||
sudo systemctl enable libvirtd.service | sudo systemctl enable libvirtd.service | ||
sudo systemctl start libvirtd.service | sudo systemctl start libvirtd.service | ||
Add user to ''libvirt'' | Add user to ''libvirt,'' ''libvirt-qemu'' and ''kvm'' groups to use the '''system'''-level virtual machines (qemu:///system) | ||
sudo usermod -a -G libvirt $USER | sudo usermod -a -G libvirt,libvirt-qemu,kvm $USER | ||
{{note| | {{note| | ||
# You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group | # You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group | ||
# You can also create '''user'''-level virtual machines (qemu:///session) and use without sudoer's privelige. However, some features such as [https://libvirt.org/kbase/virtiofs.html VirtioFS file sharing] may be unavailable in qemu:///session}} | # You can also create '''user'''-level virtual machines (qemu:///session) and use without sudoer's privelige. However, some features such as [https://libvirt.org/kbase/virtiofs.html VirtioFS file sharing] may be unavailable in qemu:///session}} |