Virtual Machine Display Passthrough to Shrink VMM Footprint
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual machine technologies require emulating display devices within the virtual machine monitor, which introduces cybersecurity, safety, and performance risks, as well as increased computational costs and interoperability challenges.
Innovation Solution
A display application within the virtual machine communicates directly with an external display component via a passthrough socket, bypassing the need for device emulation code in the virtual machine monitor, thereby reducing the virtual machine monitor's footprint.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If display devices are emulated within the virtual machine monitor, then the virtual machine can provide display output, but the virtual machine monitor's footprint increases and cybersecurity risks are introduced
Solution Approach 1:
The patent extracts the display device emulation code from the virtual machine monitor and places it in a user-space application within the guest operating system. This removes the emulation logic from the critical VMM codebase, reducing its footprint and eliminating the cybersecurity risks associated with having emulation code in the hypervisor.
Solution Approach 2:
The patent introduces an intermediary component - a user-space display application that acts as a bridge between the virtual machine's rendering output and the physical display device. This intermediary handles all display emulation functionality outside the VMM, allowing the VMM to remain simple and secure while still providing display capabilities.
2Productivity
If display devices are emulated within the virtual machine monitor, then the virtual machine can provide display output, but computational costs increase
Solution Approach 1:
By extracting display emulation from the VMM to user space, the patent eliminates the computational overhead of maintaining emulation code in the hypervisor. The user-space application can leverage host system resources and optimized rendering pipelines, improving overall computational efficiency.
3Reliability
If display devices are emulated within the virtual machine monitor, then the virtual machine can provide display output, but safety risks are introduced
Solution Approach 1:
The patent removes display emulation code from the safety-critical VMM environment and places it in an isolated user-space context. This extraction eliminates potential safety risks in the hypervisor while maintaining display functionality through the user-space application that can be independently managed and updated.
4Adaptability or versatility
If display devices are emulated within the virtual machine monitor, then the virtual machine can provide display output, but interoperability challenges arise
Solution Approach 1:
The user-space display application serves as a universal interface that can support multiple display protocols and device types without requiring the VMM to be modified. This multi-functional approach in user space enables better interoperability across different virtual machine monitors and display devices while keeping the VMM footprint small.
Data Source
AI summary
Systems and methods are provided. A method can include obtaining, by a first user-space application operating in a user space of a guest operating system of a virtual machine, data indicative of a display frame associated with the virtual machine. In the method, the display frame can include imagery generated by a second user-space application operating in the user space. The method can include providing, by the first user-space application to a passthrough socket associated with a display component external to the virtual machine, the data indicative of the display frame.


