KDE is finally getting a native virtual machine manager called “Karton”

KDE is finally getting a native virtual machine manager called “Karton”

Home » News » KDE is finally getting a native virtual machine manager called “Karton”
Table of Contents

If you happen to spend most of your time in GNOME, you’ve got most likely used one thing like GNOME Containers to spin up digital machines with out a lot trouble. We really gave it a shoutout in our record of important Linux apps for newcomers this 12 months. KDE customers, nonetheless, have usually discovered themselves counting on instruments akin to virt-manager or even GNOME Containers itself. Whereas useful, these do not at all times really feel completely at house throughout the Plasma desktop, and the outdated qt-virt-manager, a Qt-based different, has seen its growth stall for years.

Now, a brand new Digital Machine Supervisor is within the works for KDE Plasma. The challenge, named Karton, has roots relationship again to Aaron Rainbolt’s unique effort to construct a QEMU frontend utilizing its command line interface. Later, KDE developer Harald Sitter took over and developed it as a Google Summer time of Code challenge.

At present, Karton is actively developed by Derek Lin, a College of Waterloo pupil collaborating in Google Summer time of Code 2025. His major goal is to ship a digital machine supervisor that actually belongs within the KDE ecosystem.

To really feel proper at house in KDE, Karton is being constructed with Qt Fast and Kirigami. It makes use of the libvirt API to deal with digital machines and will finally work throughout completely different platforms.

Proper now, growth is concentrated on getting the core elements in place. Lin is engaged on a brand new area installer that ditches direct virt-install calls in favor of libosinfo, which helps detect OS photos and generate the fitting libvirt XML for organising digital machines extra exactly. He is nonetheless refining gadget configuration and dealing on broader hypervisor help. One other key a part of the work is constructing a customized SPICE viewer utilizing Qt Fast from scratch:

If you happen to’re curious, here is the record of particular deliverables Lin included in his GSoC proposal, although he notes the proposal itself is a bit outdated:

  • Set up and configure digital machines by means of libvirt’s XML format as a substitute of virt-install CLI

    • Add capability to configure generally used choices in UI

    • Permits for extra fine-tuned management of digital machine choices

  • Implement a customized SPICE viewer to permit customers to work together with and think about the energetic digital machine (as a substitute of virt-viewer

  • Digital machine snapshots to revive/backup earlier states

  • Intuitive UI for displaying digital machines

    • Making a user-friendly and aesthetically pleasing GUI by addressing neighborhood suggestions

    • Referencing MacOS UTM record format and a preview of the VM

    • Making UI convergent (mobile-friendly)

  • Retrieving digital machine standing updates utilizing the libvirt API virEventRegisterImpl perform as a substitute of utilizing the default built-in occasion loop.

    • Permits it to be built-in with customized Qt occasion loops

    • Reduces present latency with loading digital machine record web page

  • Including a browse software which lists generally put in working methods

  • GPU/reminiscence utilization graph as achieved in virt-manager

  • Function to modify between connecting to QEMU hypervisor with session (person) and system (root).

    • GNOME Containers appears to solely help “session”, nonetheless including help for “system” could possibly be helpful for non-KVM/Linux backends like bhyve (FreeBSD) or Hyper-V

For these within the timeline, Lin’s GSoC proposal says the official GSoC coding begins June 2, 2025. The objective is to have a working app prepared by the midterm analysis round July 14, 2025, with the ultimate submission due September 1, 2025.

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
share this article.

Enjoying my articles?

Sign up to get new content delivered straight to your inbox.

Please enable JavaScript in your browser to complete this form.
Name