Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method, device and physical machine for processing sensitive instructions

A technology of sensitive instructions and instructions, applied in program control devices, machine execution devices, software simulation/interpretation/simulation, etc., can solve the problems of virtual machine performance degradation, virtual machine trapping, etc., so as to reduce the number of traps and improve performance. Effect

Inactive Publication Date: 2015-08-19
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, whenever a virtual machine executes a sensitive instruction, it needs to process a sensitive instruction in a virtual machine trap
When there are continuous sensitive instruction accesses, the virtual machine needs to execute a large number of sensitive instructions in a short period of time, causing a large number of virtual machines to be trapped and degrading the performance of the virtual machine

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device and physical machine for processing sensitive instructions
  • A method, device and physical machine for processing sensitive instructions
  • A method, device and physical machine for processing sensitive instructions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] Such as figure 1 As shown, the embodiment of the present invention provides a method for processing sensitive instructions, the execution subject of the method can be a virtual machine monitor Xen, and the method includes the following steps:

[0030] Step 101, after the virtual machine processes the sensitive instruction to be processed and causes a trap, obtain the memory address corresponding to the sensitive instruction to be processed;

[0031]Xen is a...

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 embodiment of the invention relates to the field of computer virtualization. According to the embodiment of the invention, after a virtual machine handles a to-be-handled sensitive instruction and is trapped, a memory address to which the to-be-handled sensitive instruction corresponds can be acquired; when the memory address to which the to-be-handled sensitive instruction corresponds is the same as a memory address to which a centralized initial instruction of a saved arbitrary sensitive instruction corresponds, a sensitive instruction set including the initial instruction having the same corresponding memory address as the to-be-handled sensitive instruction can be acquired; the sensitive instruction set can be handled according to the acquired instructions recorded in the sensitive instruction set and the execution sequence of the instructions, so that the frequency of the virtual machine being trapped is reduced, and the performance of the virtual machine is improved.

Description

technical field [0001] The invention relates to the field of computer virtualization, in particular to a method, device and physical machine for processing sensitive instructions. Background technique [0002] In the field of virtualization, virtualization technology expands the capacity of hardware, simplifies the reconfiguration process of software, realizes the virtualization of multiple virtual machines on a physical host, and runs an independent operating system on each virtual machine at the same time , thereby significantly improving the work efficiency of the computer, wherein these independent operating systems are called guest operating systems (Guest Operating System, Guest OS). [0003] In the prior art, hardware virtualization technology is usually used to access processors. In the virtual machine system under the Xen framework, Xen is a virtual machine monitor, and the virtual machine cannot process sensitive instructions, for example, some of the instructions...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/30G06F9/455
Inventor 严晓丹
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products