• @wildbus8979
    link
    45
    edit-2
    6 days ago

    Who cares. Why use sub par Type 2 virtualization with DKMS modules when you can use built+in world class, industry standard, Type 1 hypervisor with Qemu+KVM and Virt-Manager? Already has clipboard sharing with qemu-guest-agent.

    • data1701d (He/Him)
      link
      fedilink
      English
      23
      edit-2
      6 days ago

      I totally agree with you on the Linux side. However, I first got into Linux by using it in Virtualbox on Windows. In the Windows world, as far as I know, it’s the easiest-to-use free-as-in-beer1 hypervisor, so long as UEFI support has improved since I last used it.

      1: I say this because of the non-libre extension pack.

      • @the_crotch
        link
        36 days ago

        Hyper-v is bundled with windows now and is just as easy to use as virtualbox (slightly easier for windows guests since the drivers are bundled in the os)

        • data1701d (He/Him)
          link
          fedilink
          English
          16 days ago

          Who would have thought? I’ve hardly touched Windows in over 2 years (mostly other people’s computers and the occasional app in my GPU-accelerated VM) so I haven’t kept up much.

      • @wildbus8979
        link
        06 days ago

        I mean yeah, Qemu/KVM is Linux software. We’re talking about Linux here. Ain’t ever heard of that other thing you speak about. Think I I stalled it once in a VM to run some firmware update on some obscure device.

    • @[email protected]
      link
      fedilink
      55 days ago

      I teach a class where I use VirtualBox. Students commonly use Windows or Mac. I use Linux.

      It is very handily to use VirtualBox where, if I demo something, the same steps will work on the student machine. It is also nice for documentation if you want to show a screenshot.

      I have never used the “extension pack” for this so it would be fine. Educational use seems to be permitted regardless.

      • @wildbus8979
        link
        3
        edit-2
        5 days ago

        Sir or Madame, this is a Wendy’s. You’re in the Linux com here.

    • @[email protected]
      link
      fedilink
      116 days ago

      vbox is easy. qemu is kinda frustrating to use sometimes, although virt-manager makes it a little easier

      • @wildbus8979
        link
        116 days ago

        Virt-Manager provides a complete UI, with a four step wizard to creating a VM, how is vbox any easier?

        • @[email protected]
          link
          fedilink
          4
          edit-2
          6 days ago

          Vbox will create a bridge with my wifi card (I’m a laptop user with no option for a wired nic in the host).

          I’ve never been able to get kvm to do that and haven’t found any working instructions online that a simpleton like me can follow

          • @[email protected]
            link
            fedilink
            English
            1
            edit-2
            5 days ago

            if you leave the NAT virtual NIC and add a 2nd one, type MACVTAP, make device name your real NIC (ent01 for me).

            Now you can access guest on your host and on other LAN devices without needing a bridge

            (Spent yesterday figuring this out)

          • @wildbus8979
            link
            16 days ago

            Create the bridge with Network Manager advanced config, voilà!

      • @[email protected]
        link
        fedilink
        English
        36 days ago

        vbox is easy until it starts saying vt-d isn’t enabled and refuses to start when it fact it is.

    • Bobby Turkalino
      link
      fedilink
      56 days ago

      Virtualizing Windows 10 for various binbows-only work stuff

      Virtualizing Windows XP to run Office from before it started sucking

      • @wildbus8979
        link
        96 days ago

        Why would these not work in KVM exactly?

        • Bobby Turkalino
          link
          fedilink
          56 days ago

          Ok so I guess I am the stupid because I always assumed kernel-level virtualization meant that you were limited to guest OS’s that used the Linux kernel. I was drawing incorrect connections to Docker

          TIL

          • @wildbus8979
            link
            46 days ago

            Yeah virtualization and containers are very different things. That said virt-manager can be used with LXC as well :)

        • @[email protected]
          link
          fedilink
          16 days ago

          For XP, the machine KVM presents as may be too new, but that isn’t an issue with non-virtualized QEMU.

          • @wildbus8979
            link
            4
            edit-2
            6 days ago

            I think it should work with some version of the Q35 chipset, if not PC should work. But Wine might be a better option if you just want to run some old version of office (or frankly just use LibreOffice)

      • Possibly linux
        link
        fedilink
        English
        36 days ago

        Are you paying for a Virtual box commercial license? They change for every employee in the company not just active users.

        Just use KVM and be done with it. You can get the Windows guest drivers and addons from the Fedora project

    • @[email protected]
      link
      fedilink
      46 days ago

      Because at least for me getting a shared folder to work was a total pain in the ass. Virtualbox just worked in that regard.

      • @wildbus8979
        link
        16 days ago

        Again, just install qemu-guest-agent. You can even drag and drop files.

    • @[email protected]
      link
      fedilink
      36 days ago

      I think VBox is more user friendly? Virt-manager would need a GTK4 (?) update and a few UX improvements.

      • Possibly linux
        link
        fedilink
        English
        46 days ago

        Virtual manager requires a lot less clicks. It also uses libvirt so you can run VMs in the background and on startup.

        If you want a better UI look into other clients.

      • @wildbus8979
        link
        16 days ago

        Certainly using a slightly dated Gtk is still more user friendly and better integrated than the god aweful stuff Oracle puts up. What UX improvements are you looking for?

          • Possibly linux
            link
            fedilink
            English
            26 days ago

            It should work out of the box but if not you can check to see if qemu-guest-agent is running

    • @[email protected]
      link
      fedilink
      36 days ago

      Because for some reason, no matter what I try, Windows 10 desktop is laggy as hell on Qemu, and smooth out of the box on VirtualBox.

        • @[email protected]
          link
          fedilink
          16 days ago

          Yeah, gotta have that and all that Secure Boot with TPM bullshit, because I’m visualizing a company workstation and nothing will work without those.

          • @wildbus8979
            link
            16 days ago

            That’s all available in Qemu/OVMF yeah.

      • @[email protected]
        link
        fedilink
        English
        16 days ago

        I’ve had the same experience, you’re much better off RDPing into the VM. But I’d like to know if anyone has a better solution that doesn’t require an extra GPU.

    • @[email protected]
      link
      fedilink
      36 days ago

      Because they are for different use cases. I use QEMU+KVM on desktop for games and 3D CAD software, because of its undeniable performance advantage. But on work laptop, I use VirtualBox to test my software on different platforms. On VirtualBox it’s relatively easy to initialize a VM, configure network, file sharing and device passthrough, and its snapshot feature allows me recreate the same environment for troubleshooting

      • @wildbus8979
        link
        2
        edit-2
        6 days ago

        All this is true using Virt-Manager… Especially if you use the qemu-guest-agent.

        • @[email protected]
          link
          fedilink
          3
          edit-2
          6 days ago

          I just looked them up and maybe you are right. But QEMU definitely lacks a GUI config tool that is both easy to use and allows for advanced features like snapshots. So far the only ones I know is GNOME Boxes and Virt Manager, and neither is as good as providing handy ways to configure as VirtualBox. I could probably just write the XML config or QEMU command by the documentation, but next time it could be a different scenario so I have to investigate the docs and maybe a few more forum posts. In VirtualBox, the buttons that do everything for me are always there

          • @wildbus8979
            link
            1
            edit-2
            6 days ago

            But QEMU definitely lacks a GUI config tool that is both easy to use and allows for advanced features like snapshots.

            Let me say it louder for the people in the back: https://virt-manager.org/

            It literally does everything you mentioned, including allowing you to edit the XML files manually to reach advanced or obscure features that are not exposed. And it can do it remotely via SSH, and it managed LXC and Xen too.

            • @[email protected]
              link
              fedilink
              26 days ago

              Last time I tried Virt manager, I couldn’t figure out bridge networks and ended up corrupted the XML config for the VM. Skill issue for me I guess

              • @[email protected]
                link
                fedilink
                English
                1
                edit-2
                5 days ago

                im a networking idiot so apologies if this doesnt work for your needs

                if you leave the NAT virtual NIC and add a 2nd one, type MACVTAP, make device name your real NIC (ento1 for me).

                Now you can access guest on your host and on other LAN devices without needing a bridge

                (Spent yesterday figuring this out)

              • @wildbus8979
                link
                1
                edit-2
                6 days ago

                Bridge networking should be as simple as selecting “bridge” in the network interface setting and putting the name of your bridge interface… You can create a bridge interface with Network-Manager. Or use macvtap.

    • @[email protected]
      link
      fedilink
      16 days ago

      Doesn’t VirtualBox use KVM if it’s available?

      I likeVBoxManage. Any crazy thing I’ve ever imagined doing with a VM it’s already supported.

      So, to answer your question - I use VirtualBox because it does everything I want and I’ve never had a reason to look elsewhere.

      • @wildbus8979
        link
        16 days ago

        No, VBox does not use KVM unless you use some off brand backend, which is an extra layer of complexity and software you must install and manage.

        Absolutely everything you might want to do with VBoxManager is going to be available via virsh and the multiple libviet utilities.

        I’ve never had a reason to look elsewhere.

        Not using Type 2 hypervisor would be a good one. Not being beholden to Oracle’s shitry licensing schemes is certainly another.

          • @wildbus8979
            link
            1
            edit-2
            4 days ago

            That’s using the externally developed Cyberus Technology backend though, like I mentioned. As mentioned all over this thread using extensions is rife for license abuse issues.