Virtual machine reliability testing method and virtual machine reliability testing device

A testing method and virtual machine technology, applied in the computer field, can solve problems such as complex operations

Active Publication Date: 2016-11-23
HUAWEI TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, the GDB debugging tool needs to be installed o

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
  • Virtual machine reliability testing method and virtual machine reliability testing device
  • Virtual machine reliability testing method and virtual machine reliability testing device
  • Virtual machine reliability testing method and virtual machine reliability testing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0104] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0105] Before explaining and describing the embodiments of the present invention in detail, the application scenarios of the embodiments of the present invention are firstly introduced. In the embodiment of the present invention, multiple virtual machines are constructed on one physical computer, and the physical computer is called a host machine, and the host machine and the multiple virtual machines form a virtualization architecture. In the virtualization architecture, the virtual machine monitor running in the host kernel can use Intel's VT-x (English: Virtualization Technology-x; Chinese: Virtualization Technology), EPT (English: Extented Page Table; Chinese: Extended page table) and other hardware virtualization technologies to r...

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 discloses a virtual machine reliability testing method and device, belonging to the field of computers. The method includes: receiving a fault injection instruction, the fault injection instruction at least carries a fault identifier, and the fault identifier is used to identify a virtual hardware resource of a virtual machine running in the host computer; according to the fault identifier, obtaining a fault command word, the fault command word is a virtual hardware Fault parameters for resource fault injection; when the system function of the host is monitored, judge whether the virtual machine calling the system function is a test virtual machine that occupies virtual hardware resources according to the fault command word; if so, intercept the system function , setting the return value of the system function to a specified error value, and returning the specified error value to the test virtual machine, so that the test virtual machine performs reliability testing. The invention does not require testers to locate and modify the source code of the host machine on-line, but only needs testers to input fault identifications, which reduces the skill requirements for testers and is relatively simple to operate.

Description

technical field [0001] The invention relates to the field of computers, in particular to a virtual machine reliability testing method and device. Background technique [0002] With the rapid development of computer technology, multiple virtual machines can be constructed on one physical computer to obtain a virtualization architecture, and the physical computer can be called a host computer. With the continuous evolution of the virtualization architecture, it has become a clear demand of customers to verify the fault tolerance of the system and test the high availability of the virtualization architecture by simulating the method of virtual machines in the virtualization architecture to handle resource failures. [0003] At present, the virtual machine reliability testing process can be as follows: install the GDB (English: GNUDebugger; Chinese: GNU debugger) debugging tool on the host machine, use the GDB debugging tool to locate the virtual hardware processing function in ...

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): G06F11/36G06F9/455
Inventor 姜凡
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products