diff options
| author | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
|---|---|---|
| committer | nic <ra@afu.re> | 2025-05-05 10:59:25 -0400 |
| commit | 21ae09ada9d367994b3a00c14bce5836a806b899 (patch) | |
| tree | 7572094d84b9c185245c84d3dea90e39932e7dcc /cs/Gentoo/Qemu.md | |
| parent | 0567d6cd88c593b7d69df371a9804fa384c4b5d6 (diff) | |
Auto from nzxt - Mon 05 May 2025 10:59:25 AM EDT
Diffstat (limited to 'cs/Gentoo/Qemu.md')
| -rw-r--r-- | cs/Gentoo/Qemu.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cs/Gentoo/Qemu.md b/cs/Gentoo/Qemu.md new file mode 100644 index 0000000..69870c6 --- /dev/null +++ b/cs/Gentoo/Qemu.md @@ -0,0 +1,26 @@ +# Installation +use flags +app-emulation/qemu opengl spice vhost-net usbredir +app-emulation/libvirt pcap virt-network numa fuse macvtap vepa qemu +app-emulation/virt-manager gui + +vim /etc/portage/make.conf +add +QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" +QEMU_USER_TARGETS="x86_64" + +emerge -av app-emulation/libvirt dev-python/libvirt-python app-emulation/qemu app-emulation/virt-manager + +usermod -a -G libvirt $USER +add to kvm group too + +vim /etc/libvirt/libvirtd.conf +auth_unix_ro = "none" +auth_unix_rw = "none" +unix_sock_group = "libvirt" +unix_sock_ro_perms = "0777" +unix_sock_rw_perms = "0770" + +rc-service libvirtd start && rc-update add libvirtd default + +echo "uri_default = \"qemu:///system\"" >> ~/.config/libvirt/libvirt.conf # have virsh & virt-manager on same qemu |
