Secure Guest Large-Page Translation Through Small-Page Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtual machine management approaches limit secure guests to small pages due to security and performance concerns, preventing the use of larger pages that could enhance processing efficiency.

Innovation Solution

A secure interface control, such as an Ultravisor, maintains a counter for each large page to ensure all small pages belonging to a secure guest are correctly aligned and meet security requirements before enabling large page translations, done transparently to the host and guest.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If secure guests use small pages only, then security requirements are met, but address translation speed and cache performance deteriorate

Engineering Contradiction:
ImprovesecurityVSAvoidaddress translation speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the large page validation process into individual small page import checks, maintaining security by verifying each small page while enabling large page translations. The secure interface control divides the large page into multiple small pages and validates each one independently before allowing the large page to be used for address translation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary validation of all small pages comprising a large page before enabling large page translations. The secure interface control checks each small page's security requirements in advance, and only after all validations pass does it enable the large page for use, thus preventing security issues while improving performance.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If secure guests use small pages only, then security alignment is maintained, but processing efficiency and cache performance worsen

Engineering Contradiction:
Improvesecurity alignmentVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent dynamically adjusts the page translation mechanism based on validation results. Initially, only small pages are used for security validation, but after all small pages comprising a large page are validated, the system dynamically switches to allow large page translations, thus improving processing efficiency while maintaining security alignment.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the page size parameter from small pages to large pages based on validation state. When a large page is fully validated, the system changes the translation parameter to use the larger page size for address translation, thereby improving cache performance and processing efficiency without compromising security.

Inventive Principle:
Principle #35Parameter changes

3Speed

If host translation is enabled for large pages, then address translation speed improves, but security verification complexity increases

Engineering Contradiction:
Improveaddress translation speedVSAvoidsecurity verification complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent introduces a secure interface control as an intermediary between the host and the secure guest memory. This intermediary component handles the complex security verification of small pages comprising large pages, managing the counter that tracks validation status and coordinating with the host to enable large page translations only when security requirements are met.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements a feedback mechanism through a counter that tracks the validation status of small pages. The secure interface control continuously monitors this counter and provides feedback to the host about whether all small pages are validated. Only when the counter indicates complete validation does the system enable large page translations, thus managing complexity through structured feedback.

Inventive Principle:
Principle #23Feedback

4Reliability

If all small pages are validated before enabling large pages, then security is ensured, but processing time increases

Engineering Contradiction:
Improvesecurity assuranceVSAvoidvalidation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary validation of small pages as they are imported, rather than waiting until all pages are fully loaded. The secure interface control checks each small page's security requirements immediately upon import and updates the counter accordingly, enabling large page translations as soon as all pages are validated, thus minimizing validation time while ensuring security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuous validation processing by checking small pages as they are imported rather than batch-processing them later. The secure interface control continuously monitors imports and updates validation status in real-time, ensuring that as soon as all small pages are validated, large page translations are enabled without unnecessary delays.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20260037291A1Transparent enablement of large frames for secure guests
Publication Date: 2026.02.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20260037291A1 patent drawing
  • US20260037291A1 patent drawing
  • US20260037291A1 patent drawing

AI summary

Computer program products, computer-implemented method, and computer systems include a trusted element enabling host translation for a large page for a given block of memory of a secure guest. The enabling can include executing, in a trusted computing environment, a call from a host to import a page to a memory of the secure guest. The trusted element can determine that a page virtual address matches a page corresponding absolute address and based on this determination can increase a counter associated with the large page; the counter indicates small pages comprising the large page imported to guest memories. When the counter indicates that all the small pages were imported and based on this determination, the trusted element determines if that all the small pages meet pre-defined security requirements and if they do, enables host translation for the large page for the given block of memory of the secure guest.