There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

nyan ,

Raw qemu at the command line for the one I use on a daily basis (not recommended for the average user). VirtualBox if I need to spin something up quickly but don’t expect to need to keep it past the current testing cycle.

possiblylinux127 ,

Virtualbox is slow and the licensing for guest addons is nasty. It is proprietary of course and if a person in a company uses it unlicensed they will send the company a massive invoice.

nyan ,

I only need it for the very occasional testing of open-source software on Windows, using the precanned VM images provided by Microsoft (last I checked, they had none for qemu, or I would be using that instead). And if you’re using software commercially, you’d better be damned sure you understand the licensing before setting up. A company of any size will have lawyers vetting that anyway.

In other words, I don’t disagree with you, but those issues don’t matter for my use case.

cizra ,
@cizra@lemm.ee avatar

I’m using systemd-nspawn or Bubblewrap, depending on the scenario.

possiblylinux127 ,

Those are container platforms not virtualization

cizra ,
@cizra@lemm.ee avatar

Yep. I found I don’t have much use for a full-blown VM, whereas there’s plenty of argument for isolating my browser from ~/.ssh/id_*.

nickb333 ,
@nickb333@fedia.io avatar

If I'm running another Linux distro that will be happy under the host kernel then I use LXD (or Incus) containers. Otherwise it's QEMU+KVM or occasionally Virtual Box.

QuazarOmega ,

I use LXD (or Incus) containers

I’ve been curious about those for a while, what are they about, are they somehow better than the usual Docker/Podman conatiners?

nickb333 ,
@nickb333@fedia.io avatar

They run a full distro rather than the minimalist that Docker containers use. You can also use them to run gui apps but that needs a bit more work to configure. I run Google Chrome sandboxed this way.

data1701d ,
@data1701d@startrek.website avatar

Qemu/KVM and Virt Manager. I have three VMs that I pass my GPU to: a Hackintosh, a Windows 10, and and Windows 7.

teawrecks ,

Do you have two GPUs or do you fully switch to the VM while passed through?

data1701d ,
@data1701d@startrek.website avatar

I have two GPUs - an RX 550 hooked to the monitors and 580 for VMs. Until recently, once the VM shut down, the 580 was able to return to Linux and be used again via PRIME - no reset bug. It randomly stopped working and I’ve tried to debug it to fix the problem to little avail.

teawrecks ,

I actually may have seen the same issue recently. Have you tried adding initcall_blacklist=simpledrm_platform_driver_init to your kernel launch params?

data1701d ,
@data1701d@startrek.website avatar

I’ll have to try that. What I have tried so far is running a different kernel version and making sure my driver blacklists are correct (I found that the GPU shouldn’t ever connect to snd_hda_intel. It briefly eas again, but after fixing it, I still had the problem.).

teawrecks ,

For me, I have intel integrated + amd discrete. When I tried to set DRI_PRIME to 0 it complained that 0 was invalid, when I set it to 2 it said it had to be less than the number of GPUs detected (2). After digging in I noticed my cards in /dev/dri/by-path were card1 card2 rather than 0 and 1 like everyone online said they should be. Searching for that I found a few threads like this one that mentioned simpledrm was enabled by default in 6.4.8, which apparently broke some kind of enumeration with amd GPUs. I don’t really understand why, but setting that param made my cards number correctly, and prime selection works again.

data1701d ,
@data1701d@startrek.website avatar

Huh. My issue seems different, but I’ll still test that flag to see if it changes anything. My problem looks like the device doesn’t return to host after VM shutdown, possibly because of the reset bug (based on my observation of dmesg), which I hadn’t encountered after about a year of GPU passthrough VM usage.

teawrecks ,

Ahh, yeah if it’s specifically when coming back from a VM, that sounds different. Maybe the vfio_pci driver isn’t getting swapped back to the real one? I barely know how it works, I’m sure you’ve checked everything.

possiblylinux127 ,

I hope you air gap that Windows 7 VM

eugenia ,
@eugenia@lemmy.ml avatar

I never found a way to share a Public folder with VirtManager though, I need to move files between host and guest. How would you go about it?

wildbus8979 ,

Install the quemu guest agent in the VM. For Linux and Windows you’ll even be able to drag and drop.

data1701d ,
@data1701d@startrek.website avatar

I go to the host folder I want to transfer files from and run ‘’’python3 -m http.server’’’. Then (I can’t remove if I use ‘’’ip a’’’ to find the IP address of the host or if I used mDNS), I use the guest web browser to download files.

D_Air1 ,
@D_Air1@lemmy.ml avatar

And here I have just been using samba.

nzmaa ,

VMware, Virtualbox for OSes that hate VMware, and Qemu for emulating OSes that only run on obscure platforms.

muhyb ,

I’m kinda lazy so when I need one, I just use Gnome Boxes and it’s pretty easy to setup.

AndrewZabar ,

So far I’ve been fine with some Oracle Virtualbox and some using the VM Manager that was in my distro or maybe I downloaded it. It’s just called Virtual Machine Manager made by Red Hat. Libvirt.

Between those I’ve been able to do everything I have needed.

CrabAndBroom ,

I use qemu, but with Quickemu 'cause I’m lazy lol.

unn ,

virtmanager as frontend for qemu/kvm. I tried the commandline but it’s too annoying

VinesNFluff ,
@VinesNFluff@pawb.social avatar

I tried using virt-manager+kvm to try some stuff out the other day but I failed to set-up some crucial things. Probably me being incompetent.

Not like virtualization is a big part of my life anyway. I just wanted to try some other distros and such without rebooting.

If I were to get serious about virtualization I’d need to build a new PC with a second GPU. Then I could stop dual-booting and do everything with VMs. But it’d only be worth it to get serious about learning how to virtualize stuff if I were to do that.

Mwa OP ,
@Mwa@thelemmy.club avatar

You can single pass through but it feels more like your using one os but if that’s the case wouldn’t dual booting be better

possiblylinux127 ,

KVM

(VMware is proprietary software)

Grass ,

xcp-ng. except now everything is just containers on atomic fedora because it seems to fit my laziness better and doesn’t require updating multiple vm os’s

crmsnbleyd ,
@crmsnbleyd@sopuli.xyz avatar

Virtualbox

ouch ,

Owned by Oracle. Stay away from Oracle.

gnuplusmatt ,

It also taints the kernel with a useless module and doesn’t really offer much in the way of features over plain old qemu

azvasKvklenko ,

KVM + Qemu + libvirt + virt-manager = ❤️

ssm ,
@ssm@lemmy.sdf.org avatar

Linux: qemu

OpenBSD: vmm, qemu when vmm isn’t good enough

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines