I use vmware and qemu

  • Mr. Camel999
    cake
    link
    fedilink
    711 months ago

    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.

    • MwaOP
      link
      fedilink
      English
      211 months ago

      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

    • @[email protected]
      link
      fedilink
      English
      211 months ago

      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.

      • Alex
        link
        fedilink
        311 months ago

        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.

      • Skull giver
        link
        fedilink
        7
        edit-2
        11 months ago

        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?

      • Possibly linux
        link
        fedilink
        English
        2
        edit-2
        11 months ago

        Virtual manager isn’t scriptable at all as it is just a GUI for libvirt. You are probably looking for qemu or virsh (libvirt)

    • @[email protected]
      link
      fedilink
      411 months ago

      I 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.

    • @[email protected]
      link
      fedilink
      111 months ago

      Thanks for the pointer. But since Proxmox supports both KVM and LXC virtualization, wouldn’t that make it both type 1 and type 2?

    • Possibly linux
      link
      fedilink
      English
      3
      edit-2
      11 months ago

      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.

      • Norah (pup/it/she)
        link
        fedilink
        English
        111 months ago

        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.

        • Possibly linux
          link
          fedilink
          English
          111 months ago

          You absolutely can. People have done Proxmox installs on Debian and unsupported architectures by building from source.

  • fmstrat
    link
    fedilink
    English
    111 months ago

    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

  • fmstrat
    link
    fedilink
    English
    1111 months ago

    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.

  • @[email protected]
    link
    fedilink
    English
    7
    edit-2
    11 months ago

    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

    • Possibly linux
      link
      fedilink
      English
      111 months ago

      It doesn’t work for all cases and it is annoying that you have to wait until creation to change CPU count.

    • nickb333
      link
      fedilink
      411 months ago

      Does it matter what front end it uses if the underlying environment is QEMU+KVM. Upvote for tha above.

    • Possibly linux
      link
      fedilink
      English
      211 months ago

      Qemu can be a type I as well if you use hardware acceleration such as KVM or Hyper-V.

  • @[email protected]
    link
    fedilink
    211 months ago

    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.

  • @[email protected]
    link
    fedilink
    4
    edit-2
    11 months ago

    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

    • MwaOP
      link
      fedilink
      English
      111 months ago

      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

      • @[email protected]
        link
        fedilink
        1
        edit-2
        11 months ago

        Did you read the article I linked? They use RAID to create a virtual disk (similar to a loop device in this context)

        • MwaOP
          link
          fedilink
          English
          111 months ago

          ohh i seen some parts of the article