Virtual Machine Memory Page Identification via Kernel Version Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for identifying memory pages of virtual machines are cumbersome and time-consuming, especially when dealing with different versions of operating systems, as they require manual updates of data structure information, which is not efficient for various OS versions.

Innovation Solution

A method that obtains a kernel file with version information, compiles source code and configuration files to generate an object file with a fixed interface function, allowing for the identification of memory pages across different operating system versions without manual adjustments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual updates of data structure information are performed for each operating system version, then identification accuracy is maintained, but time consumption and operational complexity increase significantly

Engineering Contradiction:
Improveidentification accuracyVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system automatically obtains kernel files, extracts version information, retrieves corresponding source code and configuration files, and regenes object files without manual intervention. The VMM autonomously maintains data structure information by servicing itself, eliminating the need for manual updates while preserving identification accuracy.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-obtains and caches object files corresponding to different operating system versions before they are needed for memory page identification. When identification is required, the appropriate pre-prepared object file is directly used, avoiding time-consuming manual updates at the moment of need.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If manual updates of data structure information are performed for each operating system version, then identification accuracy is maintained, but operational complexity increases

Engineering Contradiction:
Improveidentification accuracyVSAvoidoperational complexity
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The VMM system automatically performs all steps of obtaining kernel files, extracting version information, retrieving source code, and regenerating object files without requiring user intervention. This self-service mechanism dramatically simplifies operation while maintaining precise identification across different OS versions.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system designs a universal object file interface that can work with multiple operating system versions through a standardized compilation process. The same VMM can handle different OS versions by automatically selecting and compiling appropriate source code, eliminating the need for version-specific manual configuration.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If data structure information is written to VMM for each OS version, then memory page identification is reliable, but system adaptability decreases

Engineering Contradiction:
Improveidentification reliabilityVSAvoidsystem adaptability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system dynamically adapts to different operating system versions by automatically obtaining version information from kernel files and selecting corresponding source code and configuration files. The object file generation process dynamically adjusts to match the specific OS version, ensuring both reliable identification and high adaptability across diverse environments.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes key parameters such as version information, source code selections, and configuration file choices based on the detected operating system version. By dynamically adjusting these parameters through automatic version detection and matching, the system maintains reliable identification while being highly adaptable to different OS versions.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8539461B2Method for identifying memory of virtual machine and computer system thereof
Publication Date: 2013.09.17 IND TECH RES INST
  • US8539461B2 patent drawing
  • US8539461B2 patent drawing
  • US8539461B2 patent drawing

AI summary

A method for identifying memories of virtual machines is provided. The method is adapted to a computer system executing at least one virtual machine, and an operating system is executed on the virtual machine. The method includes the following steps. A kernel file of the operating system is obtained, and the kernel file includes version information of the operation system. A source code and a configuration file of the operating system are obtained according to the version information, and the versions of the source code and the configuration file are complied with the version of the operating system. An object file is generated by compiling a fixed interface function with the source code according to the configuration file. Memory pages of the virtual machine are identified according to the object file. Furthermore, a computer system using the foregoing method is also provided.