Results 1 to 6 of 6

Thread: how to integrate newer QEMU version with kvm/libvirt/virt-manager

  1. #1
    Join Date
    Oct 2024
    Beans
    3

    how to integrate newer QEMU version with kvm/libvirt/virt-manager

    i've been using the virtual machine manager (aka `virt-manager`) in linux mint for quite a while, and i've come to learn that the instructions i followed (https://documentation.ubuntu.com/ser...achine-manager) results in installation of packages via apt that are extremely outdated (qemu 6.2, dating to 2021, rather than the current qemu 9.1). i tried removing the apt version of qemu and installing in other ways, but there seem to be dependencies with virt-manager and kvm that keep trying to pull in the old version. after failing to get them to play nicely together, i uninstalled 9.1 and went back to the outdated version from apt.

    my question: is there any way to integrate qemu 9.1 along with kvm and virt-manager to be able to leverage the many new features that qemu has rolled out in the past three years?

  2. #2
    Join Date
    Jun 2016
    Beans
    Hidden!

    Re: how to integrate newer QEMU version with kvm/libvirt/virt-manager

    Quote Originally Posted by taguely View Post
    i tried removing the apt version of qemu and installing in other ways,
    What "other ways" have you tried?

  3. #3
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    5,035

    Re: how to integrate newer QEMU version with kvm/libvirt/virt-manager

    qemu 6.2 from the Ubuntu repos = Ubuntu 22.04.

    Generally, Debian-based systems use snapshot-based approach to versions and dependencies. That's why it's extremely difficult to bolt new software onto an older release -- the dependencies often cannot be satisfied without radical surgery resulting in a sad, short-lived Frankensystem.

    If you are using Ubuntu 22.04 repositories, then your snapshot is indeed from around December 2021.

    Newer releases of qemu went into newer snapshots of Ubuntu. For example, Ubuntu 24.04 has qemu 8.2. Ubuntu 24.10 will have qemu 9.0

  4. #4
    Join Date
    Oct 2024
    Beans
    3

    Re: how to integrate newer QEMU version with kvm/libvirt/virt-manager

    installing from the provided tarball and from raw git source. those are both limited to qemu though, so there is no guidance available on how to make any needed changes to libvirtd or virt-manager.

  5. #5
    Join Date
    Oct 2024
    Beans
    3

    Re: how to integrate newer QEMU version with kvm/libvirt/virt-manager

    Quote Originally Posted by ian-weisser View Post
    qemu 6.2 from the Ubuntu repos = Ubuntu 22.04.

    Generally, Debian-based systems use snapshot-based approach to versions and dependencies. That's why it's extremely difficult to bolt new software onto an older release -- the dependencies often cannot be satisfied without radical surgery resulting in a sad, short-lived Frankensystem.

    If you are using Ubuntu 22.04 repositories, then your snapshot is indeed from around December 2021.

    Newer releases of qemu went into newer snapshots of Ubuntu. For example, Ubuntu 24.04 has qemu 8.2. Ubuntu 24.10 will have qemu 9.0

    thank you. this is helpful to know. i guess i just need to do an OS upgrade.

  6. #6
    Join Date
    Jun 2016
    Beans
    Hidden!

    Re: how to integrate newer QEMU version with kvm/libvirt/virt-manager

    Quote Originally Posted by taguely View Post
    installing from the provided tarball and from raw git source.
    I don't think this can work with the apt version of virt-manager.

    To use a newer QEMU version built from source, you would probably need to try finding newer qemu (and maybe libvirt and virt-manager too) source packages (not .debs) from Ubuntu or Debian, and compile them into .deb packages for your Ubuntu system version. This process (with any package) has potential to quickly become a tricky rabbit hole of risking a broken OS, so if you don't already have a good sense of it...well, I wouldn't start with something as critical and multi-part as QEMU/virt-manager

    An OS upgrade would be safer, and less involved for you to maintain long-term.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •