VM Errata Handling Through VMM-Shared CPU and Timer Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In heterogeneous CPU architectures, virtual machines face incomplete identification and management of CPU and timer errata, leading to instability in service execution due to incomplete errata information.

Innovation Solution

A method where a virtual machine monitor (VMM) maintains and shares CPU type and timer errata information with the virtual machine (VM), enabling accurate identification and repair of all errata through system register traversal and ACPI/DT table parsing, and utilizing a shared storage area for communication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the virtual machine identifies timer errata based on firmware created by the VMM, then the VM can identify CPU errata, but the timer errata are not completely identified because the related timer errata description field is not added to the firmware

Engineering Contradiction:
Improveerrata identification completenessVSAvoidtimer errata information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The VMM acts as an intermediary between the host OS and the VM, collecting timer errata information from the host OS and transmitting it to the VM through a shared storage area, thereby enabling the VM to obtain complete errata information without modifying the firmware structure

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The VMM collects and prepares timer errata information in advance by traversing system registers and parsing ACPI/DT tables during system initialization, so that the VM can directly use this pre-collected information without having to perform complex detection operations itself

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the VMM shares all CPU type information and timer errata information with the VM, then the VM can identify all possible errata, but the information transmission and management complexity increases

Engineering Contradiction:
ImproveVM service stabilityVSAvoidinformation management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The errata information is segmented into distinct categories (CPU type information and timer errata information), and the VMM handles each type separately through dedicated collection and transmission mechanisms, reducing the complexity of managing mixed information types

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The VM autonomously identifies errata by comparing received information with its internal errata tables and automatically performs repair processing, eliminating the need for complex centralized control and reducing overall system management complexity

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4679268A1Method for processing errata by virtual machine, and related device
Publication Date: 2026.01.14 HUAWEI TECH CO LTD
  • EP4679268A1 patent drawingFigure 1
  • EP4679268A1 patent drawingFigure 2
  • EP4679268A1 patent drawingFigure 3

AI summary

This application provides a method for processing errata by a virtual machine, and a related device, and relates to the field of computer technologies. The method for processing errata by a virtual machine is applied to an electronic device. The electronic device includes a CPU architecture including at least one type of physical CPU, and a VM and a VMM for managing the VM running on the electronic device. The method includes: The VMM obtains errata-related information of the CPU architecture, and shares the errata-related information with the VM, where the errata-related information includes CPU type information and timer errata information; the VM identifies, based on the errata-related information, errata in the CPU architecture; and the VM performs repair processing on the identified errata. In this application, the virtual machine may accurately process the errata in the CPU architecture, thereby improving running stability of the virtual machine.