From 21ae09ada9d367994b3a00c14bce5836a806b899 Mon Sep 17 00:00:00 2001 From: nic Date: Mon, 5 May 2025 10:59:25 -0400 Subject: Auto from nzxt - Mon 05 May 2025 10:59:25 AM EDT --- cs/Gentoo/Qemu.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cs/Gentoo/Qemu.md (limited to 'cs/Gentoo/Qemu.md') 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 -- cgit v1.2.3