• wildbus8979
    link
    fedilink
    arrow-up
    10
    arrow-down
    4
    ·
    edit-2
    8 months ago

    But like… why? It’s not even more convenient, virt-manager is literally zero setup (in Debian at least) and you don’t need to deal with DKMS.

    The kvm-guest-agent tool and some virtio drivers even exist for winblows.

    • rotopenguin@infosec.pub
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      When I run virt-manager on Bookworm, all it does is tell me that “xen is not connected”. There is nothing to indicate that KVM is anything that virt-manager might support, or why it currently doesn’t.

      The best I can do is to make a VM in gnome boxes, use “ps” to capture its command line to qemu, re-format that into something that I can put into a bash script, and edit in additional options that Boxes/libvirt absolutely refuse to support.

      Most of the host integration features are better in Virtualbox. On the other hand, with qemu I don’t have to look at VB filling the journal with ubsan errors (and wonder if its crappy driver is corrupting shit). If VB supported KVM, I would go right back to it.

      • wildbus8979
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        8 months ago

        You just need to add a KVM connection.

        File > Add connection > select “QEMU/KVM” > Profit

        Most of the host integration features are better in Virtualbox.

        Highly doubt that, specially if you’re using Virtio devices and the qemu guest agents.

        • rotopenguin@infosec.pub
          link
          fedilink
          English
          arrow-up
          4
          ·
          8 months ago

          Aha, thank you! That’s just a weird enough concept to “attach to” a local QEMU user session (where virt-manager will be the guy spinning it off anyway) that I would never have seen it.

          Every newbie article about virt-manager starts with a filled list of connections, so I was down to figuring that it’s cleverly detecting a missing dependency or permission and silently eliminating list entries for me.

          • wildbus8979
            link
            fedilink
            arrow-up
            4
            ·
            edit-2
            8 months ago

            Glad it helped! The idea is that virt-manager is semi backend agnostic. It’ll doe Xen, Qemu, and LXC via libvirt, and it can do those as root, or unprivileged as well as connect to remote sessions via ssh. Pretty darn cool!

          • laurelraven@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            Don’t you hate it when a newbie how-to doesn’t start from where a newbie will, with a fresh install and nothing configured and no prior knowledge?