Virtual Machine Resource Isolation Through Memory Page Visibility Classes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current hypervisor-based virtualization architectures lack effective mechanisms to isolate virtual machine (VM) guest resources from the host operating system, compromising the confidentiality and integrity of VM guests, particularly in cloud computing environments.

Innovation Solution

A software-based architecture, referred to as IVM, introduces a new security boundary between the hypervisor and the host virtualization stack, restricting access to VM guest resources by the host OS, using a security component within the hypervisor to enforce isolation and confidentiality, and employing memory page visibility classes and acceptance models to manage resource access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If hypervisor-based virtualization is used to allocate physical resources to VM guests, then resource utilization and virtualization functionality are improved, but security isolation and confidentiality protection of VM guests deteriorate

Engineering Contradiction:
Improveresource utilizationVSAvoidsecurity isolation
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the virtualization system into distinct trust zones: a higher trust zone containing the hypervisor and security component, and a lower trust zone containing the host OS and virtualization stack. This segmentation isolates VM guest resources from the host OS, preventing unauthorized access while maintaining resource allocation functionality. The security boundary between trust zones ensures that even if the host OS is compromised, VM guests remain protected.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a security component as an intermediary between the hypervisor and the host virtualization stack. This security component enforces access control policies, managing which VM guest resources are visible and accessible to the host OS. By positioning this intermediary in the higher trust zone, the system maintains resource allocation capabilities while blocking unauthorized access paths from the host OS to VM guests.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If host OS is granted full access to VM guest resources for virtualization management, then virtualization functionality is improved, but confidentiality and integrity of VM guests deteriorate

Engineering Contradiction:
Improvevirtualization managementVSAvoidconfidentiality
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The patent applies local quality by granting the host OS differential access rights to different VM guest resources. Through the security component, specific memory pages, devices, or resource types can be marked as visible or invisible to the host OS on a per-resource basis. This allows essential virtualization management operations to proceed where needed while maintaining confidentiality where required, creating a fine-grained access control system.

Inventive Principle:
Principle #3Local quality

3Reliability

If security boundaries are introduced between hypervisor and host OS, then security isolation is improved, but system complexity increases

Engineering Contradiction:
Improvesecurity isolationVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the security component functionality with the existing hypervisor architecture. Rather than introducing a completely separate security subsystem, the security component is integrated into the hypervisor's trust zone structure, leveraging existing virtualization mechanisms. This integration approach maintains security isolation while minimizing additional complexity by reusing established hypervisor components and interfaces.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20250284525A1Software isolation of virtual machine resources
Publication Date: 2025.09.11 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20250284525A1 patent drawing
  • US20250284525A1 patent drawing
  • US20250284525A1 patent drawing

AI summary

Methods and systems are provided for isolating resources of a virtual machine (VM) guest from a host operating system (OS). The techniques include receiving, from a guest partition corresponding to an isolated VM guest, an acceptance request that identifies a guest memory page mapped into a guest physical address (GPA) space and a memory page visibility class, e.g., exclusive, shared read-only, or shared read-write. The techniques further include verifying, via a host OS second-level address translation table, that the physical memory page satisfies the specified visibility class by confirming that the host OS has the appropriate access rights. Upon successful verification, the guest memory page is transitioned from an unaccepted state to an accepted state. These techniques enable controlled memory sharing and enhanced isolation between guest VMs and the host OS in virtualized environments.