On Fri, Dec 31, 2021 at 9:40 AM Petric Frank <pfr...@gmx.de> wrote: > > Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan: > > On 07:33 Fri 31 Dec , John Covici wrote: > > > Hi. I am looking for some guidance on installing virtual machines > > > under gentoo. I have a 5.10.82 kernel and I would like to use kvm if > > > possible to do this. I have seen lots of instructions for installing > > > vms using virtualbox but not much else. I have a gentoo system with > > > enough memory to run a vm or two and would like to use it as the host. > > > > > > I have downloaded xen to take a look at it as well. > > > > > > I hope this is not too vague, so please bare with me. > > > > > > Thanks in advance for any suggestions. > > > > I'd suggest to try qemu kvm + libvirt > > For a graphical GUI frontend for this you can use app-emulation/virt-manager.
++ This is just a front-end to libvirt and kvm, so you're building entirely on solid technologies, and anything you set up with the GUI can be edited or run or otherwise managed from the command line, and vice-versa. It ends up resembling something like VirtualBox or the old VMWare Workstation edition, but it is all FOSS and in-kernel so it just is more reliable/etc. That said, I only use VMs situationally and at this point just about everything I'm doing is in containers if it can be linux-based. Way lighter all-around, even if I'm running a full OS in the container. I personally prefer to run my containers with nspawn and virtual ethernet, so each container gets its own IP via DHCP. Oh, and for kvm if you want to run your guests on your main LAN you'll probably need to set up a bridge interface. -- Rich