[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:emulators:libvirt_config_methods [2022/04/28 12:21 (UTC)] – [Libvirt config, settings and method for Slackware] zeebra | howtos:emulators:libvirt_config_methods [2023/12/01 12:04 (UTC)] (current) – [Libvirt config, settings and method for Slackware] zeebra | ||
---|---|---|---|
Line 44: | Line 44: | ||
*run qemu: | *run qemu: | ||
*start libvirt daemons as root | *start libvirt daemons as root | ||
- | *start libvirt daemons | + | *start libvirt daemons |
*to use qemu/kvm through virt-manager in all the above ways | *to use qemu/kvm through virt-manager in all the above ways | ||
Personally I only really care about running qemu: | Personally I only really care about running qemu: | ||
Line 101: | Line 101: | ||
The most common way to run the daemons with kvm/qemu and virt-manager is to run the daemons (on boot) as root and connect to them as user (through libvirt group) and set up a qemu: | The most common way to run the daemons with kvm/qemu and virt-manager is to run the daemons (on boot) as root and connect to them as user (through libvirt group) and set up a qemu: | ||
+ | |||
+ | === /dev/dri === | ||
+ | |||
+ | The same that applies to kvm also applies to video cards. To solve this, you ONLY need to add the " | ||
+ | < | ||
+ | You need to log out of X/wayland and tty, and back in, with your user for this change to take effect. | ||
=== /etc/rc.d === | === /etc/rc.d === | ||
- | Content will be added here | + | To start libvirtd and virtlogd on boot (as root), you can add them to / |
+ | < | ||
+ | / | ||
+ | / | ||
+ | </ | ||
=== udev === | === udev === | ||
Line 118: | Line 128: | ||
# Set kvm device writable by kvm group | # Set kvm device writable by kvm group | ||
KERNEL==" | KERNEL==" | ||
+ | </ | ||
+ | |||
+ | Once you reboot you can verify the changes: | ||
+ | < | ||
+ | ls -la /dev/kvm | ||
+ | crw-rw---- root kvm | ||
</ | </ | ||
=== Appendage === | === Appendage === | ||
Line 129: | Line 145: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |