Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for dynamically acquiring process descriptors in client Linux by adopting VMM (Virtual Machine Monitor)

A client and descriptor technology, which is applied to program control devices, instruments, electrical digital data processing, etc., can solve the problems that the process descriptor of the guest operating system cannot be completely obtained, the process cannot be identified, and the VMM performance is greatly affected. Achieve the effect of overcoming incompleteness and performance drawbacks

Inactive Publication Date: 2010-10-27
张纪胜
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this method are: 1. Using the page directory address as a keyword cannot identify all processes, because not all processes in the system have independent page directory addresses
Therefore, all process descriptors in the guest operating system (Guest OS) cannot be obtained completely, and have a great impact on VMM performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The VMM among the present invention is the lguest in Linux kernel 2.6.29, and the guest operating system (Guest OS) is the Debian Linux system running the same version kernel. The hardware platform is X86 32-bit PC

[0014] The guest_pa function is implemented in lguest to convert the guest virtual address to the corresponding guest physical address. In addition, the lgread function is implemented to read the value of a physical address in the guest. The present invention combines these two functions, and can directly read the content of the memory indicated by the virtual address in the guest in the VMM. At the same time, the ESP register under the X86 platform is the CPU stack pointer register, which is used to indicate the current top position of the stack.

[0015] The process descriptor of the process is obtained through the following inline function: after the second statement is executed, the value of p is the address of the thread_info structure of the process...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for efficiently and dynamically acquiring process descriptors of a client Linux operation system according to requirements by adopting a VMM (Virtual Machine Monitor). On the premise of not changing the client operation system, the process descriptors of the client operation system in the current process can be dynamically acquired by a stack pointer register in the VMM, and members of a tasks linked table of the process descriptor are then traversed so as to directly and dynamically acquire all process descriptors in the client Linux operation system according to requirements. By fully utilizing Linux core characteristics, the operation of searching a client page table in the acquisition process and the operation of acquiring the process descriptor in the current client process by the stack pointer register at a time are eliminated, thereby reducing the influence on the VMM performance to minimum.

Description

technical field [0001] The present invention generally relates to virtual machine technology, and more specifically relates to a method for dynamically obtaining process descriptors of all processes of a client operating system in a virtual machine monitor on demand. Background technique [0002] The system virtual machine technology virtualizes one or more computing platforms by adding a layer of software on the physical hardware. This layer of software is called a virtual monitor (Virtual Machine Monitor), referred to as VMM. The system virtualized in this way is called a virtual machine, and sometimes the virtual machine is also called a client (Guest). The virtual machines all access the underlying physical hardware under the monitoring and assistance of the VMM. Because VMM can allow multiple virtual machines to transparently reuse the resources of the physical machine and at the same time strictly monitor the virtual machines. Therefore, in recent years, virtual techn...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/455G06F12/08G06F12/0802
Inventor 张纪胜
Owner 张纪胜
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More