Microsoft has implemented support for the root environment for Linux-based Hyper-V

Microsoft company presented for discussion on the Linux kernel developers mailing list, a series of patches that enable the Hyper-V hypervisor to work with a Linux-based root environment that has direct access to the hardware and is used to start guest systems (analogous to Dom0 in Xen). Until now, Hyper-V (Microsoft Hypervisor) only supported Linux in guest environments, but the hypervisor itself was managed from a Windows-based environment. Now Microsoft intends to build a complete virtualization stack with Linux and Hyper-V.

The organization of the hypervisor in the Linux kernel and Windows differs markedly, so the implementation of Hyper-V for Linux takes a different approach to configuring subsystems and organizing hypercalls. The code for mapping interrupts using the IOMMU has been rewritten similar to the similar Xen support code in Linux (Xen and Hyper-V have similar architecture and are based on using a privileged root/Dom0 environment for management).

The patches include the minimum implementation required for work, which is proposed as an initial prototype for discussion and criticism. To control the hypervisor, the /dev/mshv device is proposed, with the help of which applications from user space can create and run virtual machines. High-level hypervisor port also proposed cloud-hypervisor, which allows you to boot virtual machines on top of Hyper-V instead of KVM.

In 2018, the number of Linux guests in the Azure cloud service exceeded Windows-based environments, which are steadily declining, mainly due to the growing popularity of Linux-based devops platforms and Kubernetes. Using a single Linux-based stack has the potential to simplify maintenance and improve the performance of Hyper-V servers serving Linux guests.

Source: opennet.ru

Add a comment