Hello, thanks for supporting this Linux distribution, for a couple of years it is my favorite.
What packages should I install to create virtual machines in cachyos with kvm?
Greetings.
Hi,
This would be the same as at archlinux. You can use qemu, libvirt, vmware or equal.
Maybe some tip. I use VirtualBOX for VM on CachyOS.
For info:
- virtualbox has the worst performance compared to kvm & vmware (but is very easy to use, like vmware).
- vmware has the best performance for windows VMs thanks to itâs hardware accelerated GPU driver. KVM can be better only with GPU pass-through (which is complicated to setup on kvm, and vmware can also do it easier).
- vmware workstation pro is now available for FREE for personal use, since last week.
- the vmware driver works great with the linux-cachyos kernel, but fails to build with the lto kernel.
sudo pacman -S --needed qemu-desktop virt-manager virt-viewer vde2 bridge-utils openbsd-netcat dmidecode iptables-nft qemu-img edk2-ovmf libosinfo swtpm;paru -S virtio-win;sudo virt-host-validate qemu
IOMMU is not enabled, to enable it; add intel_iommu=on iommu=pt
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX=âintel_iommu=on iommu=ptâ
sudo systemctl enable libvirtd.service;sudo grub-mkconfig -o /boot/grub/grub.cfg
Reboot
sudo usermod -aG libvirt $USER;echo âexport LIBVIRT_DEFAULT_URI=âqemu:///systemââ >> ~/.fishrc;source ~/.fishrc
There is a patch for that in Add vmware-workstation modules with Clang build fixes by ventureoo ¡ Pull Request #320 ¡ CachyOS/CachyOS-PKGBUILDS ¡ GitHub. Sadly wonât be distributed because of license.