I use vmware and qemu
I’m kinda lazy so when I need one, I just use Gnome Boxes and it’s pretty easy to setup.
I use qemu, but with Quickemu 'cause I’m lazy lol.
deleted by creator
Those are container platforms not virtualization
deleted by creator
I use virt-manager, aka Virtual Machine Manager. Using this specifically because of the winapps for Linux repo has instructions on how to get Windows apps to run through the VM to be integrated in a Linux environment.
might try that tbh am gonna run razer software or apps that dont work on linux at all and for games am gonna use my windows ssd
How “scriptable” is virt-manager?
My biggest issue with VirtualBox is that I have to install OSes as if I’m actually installing them. There aren’t any images (at least that I’m aware of) that can run with a command, like deploying an EC2.
Virt-manager isn’t super scriptable but the underlying libvirt can be controlled by virsh which is a shell interface to libvirt. You can use both at the same time, e.g. start and stop via virsh and access to gui container via virt-manager/virt-viewer.
virt-manager is a frontend for a bunch of virtualisation systems, but usually it’s configured for qemu+kvm+libvirt.
Libvirt is a dedicated API to managing virtual machines. It’s probably most versatile when launching new VMs on it by using the libvirt XML definitions, but there’s an API you can use if you want more low level access, and optional command line tooling as well.
Something like
virt-install --name=lemmyvm --vcpus=1 --memory=2048 --cdrom=/tmp/debian-netinst.iso --disk size=50 --os-variant=debian12
should automatically install a Debian 12 VM (from a downloaded ISO) through the automated setup process. It’s been a while since I used that, though, so you may need an extra step or two to get the setup to autocomplete today. I think cloudinit is how you auto setup Linux distros these days?Virtual manager isn’t scriptable at all as it is just a GUI for libvirt. You are probably looking for qemu or virsh (libvirt)
Virtmanager and qemu/kvm
Proxmox seem powerfull
It’s a Type1, not Type2
https://en.wikipedia.org/wiki/Hypervisor#ClassificationI use Proxmox for the machine that I use to download all of the Linux ISOs I want. You know, with a VPN, through BitTorrent. Linux ISOs.
Thanks for the pointer. But since Proxmox supports both KVM and LXC virtualization, wouldn’t that make it both type 1 and type 2?
Proxmox isn’t really its own hypervisor. It combines a few common projects to make a OS. It is pretty much KVM with corosync for clustering.
With that being said it is a solid platform. Just keep in mind it is just standard Linux virtualization and for single nodes you can get the exact same setup easily on any Linux system.
Well, the exact same except for the frontend. It’s arguably better than virt-manager imo. I wonder how hard it would be to get pve-manager running outside the OS.
You absolutely can. People have done Proxmox installs on Debian and unsupported architectures by building from source.
Replied to others with this but realized you won’t get those notifications. I finally got around to releasing this, which is Debian in your browser via Docker: https://nowsci.com/webbian
I used KVM with
virt-manager
for a long time. Even ran a gaming VM with GPU pass-through.Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.
control it from any whuAT!?
Gnome boxes.
Based on QEMU+KVM so it’s quite robust. It works pretty well, plus it has various little features working out of the box that in some other software is a pain in the arse to configure.
Sticks out a bit on my system due to still being GTK3, but there is a GTK4 prototype out that usually works well.
E: downvoting anybody who says Gnome Boxes because you use a different virtual machine frontend is laughably pathetic lmao. Some people in the Linux community are such losers lol
It doesn’t work for all cases and it is annoying that you have to wait until creation to change CPU count.
Does it matter what front end it uses if the underlying environment is QEMU+KVM. Upvote for tha above.
deleted by creator
Qemu can be a type I as well if you use hardware acceleration such as KVM or Hyper-V.
Currently virt-manager on top of qemu/kvm on Debian 12. It was the easiest to get to emulate a TPM on my ancient hardware (9ish years old, but still powerful).
I’m learning enough about the backend that I’m hoping to get off the Redhat maintained software and only use the qemu cli, maybe write my own monitor with rust-vmm when I learn enough rust to do so.
Virt manager for qemu. I use docker and distrobox for Linux distros
I recently managed to use my windows partition (for dual boot) as a disk for a qemu. I don’t use it but really cool trick anyways. Tutorial here
Also it’s not very healthy for windows since it is not designed for constant hardware changes. But idc all my apps are installed on D: so I can just reinstall it without thinking about it much
I tried doing tbe same thing as you on my separate windows ssd gives me a error on bootup and qemu/kvm won’t let me boot from my vendor usb I tried only putting the isos and windows cannot find the ssd and hiren just gets a error
Did you read the article I linked? They use RAID to create a virtual disk (similar to a loop device in this context)
ohh i seen some parts of the article
Linux: qemu
OpenBSD: vmm, qemu when vmm isn’t good enough
KVM + Qemu + libvirt + virt-manager = ❤️
Virt-Manager, even works remotely via SSH.