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

Control method and device for running virtual machine

A technology of a control method and a control device, which is applied in the computer field, can solve problems such as increasing the performance overhead of a host machine, and achieve the effect of reducing overhead and reducing the number of restarts

Active Publication Date: 2017-05-03
LOONGSON TECH CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be understood that the operation of the virtual machine will require multiple translations between the virtual address of the virtual machine and the physical address of the host machine, which will result in the event of using the control TLB register to access the TLB multiple times. Therefore, in the prior art , the virtual machine needs to be shut down multiple times, and then restarted, and the virtual machine's multiple shutdowns and restarts increase the performance overhead of the host

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
  • Control method and device for running virtual machine
  • Control method and device for running virtual machine
  • Control method and device for running virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] figure 1 It is a flow chart of Embodiment 1 of the control method for running a virtual machine in the present invention. Such as figure 1 As shown, the execution subject of this embodiment is a control device for running a virtual machine, and the control device can be implemented in the form of software and / or hardware. Preferably, the control device can be set on a host machine (also called a host), specifically, the control method includes:

[0042] S101. During the current running process of the first virtual machine, when the first virtual machine needs to access the first register in the control register, read the status bit of the host machine to obtain the status value of the host machine.

[0043] The above-mentioned first virtual machine is the virtual machine currently running on the host machine. It is understandable that the operation of the virtual machine requires the host machine as a carrier, so the virtual machine can be regarded as a process on the...

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 provides a method and device for controlling an operating virtual machine. The method includes the steps that in the operating process of a first virtual machine at this time, when the first virtual machine needs to have access to a first register in a control register, a status bit of a host machine is read, and a status value of the host machine is obtained; when it is determined that the host machine is in the non-kernel status according to the status value of the host machine, a status bit of the first virtual machine is read, and a status value of the first virtual machine is obtained; when it is determined that the first virtual machine is in the kernel status according to the status value of the virtual machine, the first virtual machine is controlled to have access to the first register. By the adoption of the method and device for controlling the operating virtual machine, the control register access process of the virtual machine is optimized, the number of shutdown and restart, caused by access to the control register, of the virtual machine is reduced, and performance expenditure of the host machine is lowered.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a control method and device for running a virtual machine. Background technique [0002] With the popularity of cloud computing, system virtualization has developed faster and faster, and more and more architectures have introduced virtualization solutions. For example, the MIPS architecture usually adopts para-virtualization hardware specifications or full-virtualization hardware specifications. Among them, in the full virtualization hardware specification, based on the existing reduced instruction set architecture (Micropr-ocessor without interlocked piped stages, referred to as MIPS), additional operating modes and related registers are added, and dual address translation and related registers are added; and In the paravirtualized hardware specification, compared with the full virtualized hardware specification, only additional operating modes ...

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/455G06F12/1027
Inventor 台运方蔡万伟刘奇张戈
Owner LOONGSON TECH CORP
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