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

Method and computer system for upgrading super kernel component

A super core and component technology, applied in the computer field, can solve problems such as business hot migration affecting smooth business operation, multi-device resources, etc., and achieve the effects of reducing device resources, high real-time performance, and short upgrade time

Active Publication Date: 2011-05-25
HUAWEI TECH CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing way to upgrade the Hypervisor components requires a lot of equipment resources, and the business live migration process may also affect the smooth operation of the business

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
  • Method and computer system for upgrading super kernel component
  • Method and computer system for upgrading super kernel component
  • Method and computer system for upgrading super kernel component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] For an upgrade method of a hypervisor component provided by an embodiment of the present invention, see figure 2 , including the following steps:

[0033] see figure 2 , the specific steps may include:

[0034] 210. The virtual machine kernel invokes the hypercall interface of the Hypervisor, and loads an upgrade file for upgrading the target function in the Hypervisor component into the address space of the Hypervisor, where the upgrade file includes an upgrade function corresponding to the target function;

[0035] Wherein, the above-mentioned target function is the function to be upgraded (old function). After the target function is upgraded, the new function run by the program is the upgrade function (new function) in the upgrade file, that is, the target function is upgraded to the upgrade function.

[0036] It should be noted that the virtual machine kernel in this embodiment is the kernel of a virtual machine (such as Domain 0 or other virtual machines with s...

Embodiment 2

[0063] In order to facilitate a better understanding of the technical solution of the present invention, the above technical solution of the embodiment of the present invention will be described in detail below by using an example scenario.

[0064] Among them, in this embodiment, the upgrade management module is mainly deployed in the kernel of Domain 0, and the schematic diagram of the deployment location of the upgrade management module can be as follows Figure 3-a As shown, the upgrade management module deployed in the kernel of Domain 0 can proxy access to the Hypervisor, including performing upgrade management of Hypervisor components.

[0065] The scenario of deploying the upgrade management module in other virtual machine kernels can be analogized.

[0066] see Figure 4 , the specific steps may include:

[0067] 401. The application program in the user space sends a Hypervisor component upgrade instruction to the upgrade management module deployed in the domain 0 k...

Embodiment 3

[0101] see Figure 5, Based on the above-mentioned embodiments, a computer system provided by the embodiment of the present invention may include: a central processing unit CPU 510, a memory 520, and the memory 520 is used to store program codes; The program code is used to run the program corresponding to the program code, wherein, the central processing unit CPU 510 runs a virtual machine kernel and a super kernel Hypervisor:

[0102] The virtual machine kernel is used to call the Hypervisor's hypercall interface, and the upgrade file used to upgrade the target function in the Hypervisor component is loaded into the address space of the above-mentioned Hypervisor, and the above-mentioned upgrade file includes an upgrade function corresponding to the above-mentioned target function; Calling the interface, replacing the start position instruction of the target function in the Hypervisor component that needs to be upgraded with the first interrupt breakpoint instruction;

[01...

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 discloses a method and computer system for upgrading a super kernel component. The method for upgrading the super kernel component comprises the following steps: the kernel of a virtual machine calls a super call interface of a super kernel to load a upgrading file of a target function used for upgrading in the super kernel component to the address space of the super kernel; the kernel of the virtual machine calls the super call interface of the super kernel to replace an initial position instruction of the target function to be upgraded with an interruption breakpoint instruction; and the kernel of the virtual machine calls the super call interface of the super kernel to replace a first interruption breakpoint instruction with a jump instruction required by the upgrading when an interruption processing program in the kernel of the virtual machine determines that a breakpoint result in breakpoint exception is caused by the interruption breakpoint instruction, so as to upgrade the target function in the super kernel component to be upgraded into an upgrade function. By applying the technical scheme of the embodiment of the invention, facilities resources required by the super kernel component upgrading process can be reduced, and the influence of the upgrading on services can be reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an upgrading method and a computer system of a Hypervisor component of a super kernel. Background technique [0002] At present, through virtual machine software, for example, one or more virtual computers can be simulated on a physical computer, and these virtual machines work like real computers. Operating systems, application programs, Access to network resources and more. To the applications running in the virtual machine, the virtual machine looks like working on a real computer. [0003] In a virtualized system, after running for a period of time, if some functions are found to be insufficient or have defects, some system components can be replaced and the system or service restarted to enhance and repair system functions, so as to achieve the purpose of system security and stability . However, in the field of telecommunication products, the requirements for product re...

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/445
CPCG06F8/67G06F9/45558G06F8/656
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