Oracle upstreams KVM backend to VirtualBox for better Linux support

Oracle is integrating a KVM backend into its VirtualBox hypervisor, allowing it to use the Linux kernel's built-in virtualization features instead of its custom module. This change addresses long-standing compatibility issues with kernel updates and Secure Boot. The move could enhance performance and ease maintenance for users and distributions.

For over a decade, VirtualBox has been a popular choice for developers and hobbyists due to its straightforward interface and support across platforms like Linux, Windows, macOS, and Solaris. However, on Linux hosts, it has depended on an out-of-tree kernel module called vboxdrv, which requires recompilation with every kernel update and causes problems with Secure Boot. These issues have driven some users toward alternatives like KVM and QEMU, which are integrated directly into the Linux kernel.

The shift to a KVM backend, first noted by Phoronix, enables VirtualBox to interface with the kernel's /dev/kvm device, the same mechanism used by tools such as QEMU and Cloud Hypervisor. This allows VirtualBox to handle CPU and memory virtualization through KVM while keeping its own features for device emulation, USB passthrough, and guest additions. A community patch for this integration, developed by cyberus-technology, has existed for years, but Oracle's decision to officially upstream it marks a key evolution.

This architectural update reduces Oracle's maintenance efforts, as the company no longer needs to track unstable kernel APIs for its module. KVM's stability and Secure Boot compatibility eliminate common breakage points, making VirtualBox easier for Linux distributions to package and support. For instance, distributions like Fedora have faced challenges including VirtualBox due to kernel incompatibilities.

Performance should improve, especially for demanding workloads, by leveraging KVM's optimized paths that underpin cloud platforms from Amazon, Google, and Oracle. However, the backend is Linux-specific, so VirtualBox will maintain its existing engine on other operating systems, creating a split architecture. Oracle has not detailed a timeline for full integration or compatibility with its proprietary extension pack, which includes features like USB 3.0 and disk encryption.

Overall, this pragmatic step acknowledges KVM's dominance in Linux virtualization, potentially drawing users back to VirtualBox with fewer hassles and stronger ecosystem ties.

相关文章

Illustration depicting Linux 7.0 kernel enhancements to AppArmor, AMDGPU, Ceph, and eCryptfs, featuring Tux at a coding workstation.
AI 生成的图像

Linux 7.0 kernel merges several enhancements

由 AI 报道 AI 生成的图像

The Linux 7.0 kernel development has incorporated updates to AppArmor, AMDGPU, Ceph, and eCryptfs. These changes include security and hardware support improvements. The merges signal ongoing progress toward the kernel's release.

Oracle has released VirtualBox 7.2.6, the third maintenance update in the 7.2 series of the open-source virtualization software. This version introduces initial support for the upcoming Linux 6.19 kernel and includes numerous stability fixes across Windows, Linux, and macOS hosts and guests. The update addresses crashes, performance issues, and compatibility problems to enhance reliability for users.

由 AI 报道

QEMU version 10.2 introduces a new MSHV accelerator designed for Hyper-V guests. Microsoft has provided its perspective on this development in open-source virtualization. The update aims to enhance performance in Linux-based environments.

Linux graphics developers have submitted patches to address virtual memory faults plaguing older AMD GCN GPUs. These fixes aim to enhance stability for cards like the HD 7000 and R9 290 series during Vulkan workloads. The changes come ahead of the Linux Kernel 6.19 release.

由 AI 报道

The latest version of QEMU, 10.2, has been released. This update introduces support for IO_uring to enhance performance.

The first release candidate for Linux kernel 7.0 has been made available, incorporating various enhancements. This version includes improvements for Microsoft Hyper-V, support for AMD Zen 6 performance monitoring, and preparations for Intel Diamond Rapids processors. Credits in the kernel now honor the creator of Linux-Next.

由 AI 报道

Linus Torvalds has announced that the Linux kernel will jump to version 7.0 after the 6.x series concludes, marking a cosmetic but symbolic milestone for the open-source project. The decision follows established versioning practices to keep minor numbers manageable, with no major technical overhaul tied to the change. Ongoing developments include expanded Rust integration and hardware support enhancements.

 

 

 

此网站使用 cookie

我们使用 cookie 进行分析以改进我们的网站。阅读我们的 隐私政策 以获取更多信息。
拒绝