IP Library Granted Patent US 10,565,000
Granted Patent B2
US 10,565,000 · App. 15/806,093 · Granted Feb 18, 2020

Method and apparatus for online upgrade of kernel-based virtual machine module

Inventors: Xiantao Zhang (Hangzhou, CN); Junkang Fu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06F9/45558G06F8/65G06F8/656G06F9/445G06F2009/4557G06F2009/45575G06F2009/45591
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,565,000
App. No.
15/806,093
Granted
Feb 18, 2020
Kind
B2
Abstract

An apparatus and a method for online upgrading a kernel-based virtual machine module are disclosed. The method includes reorganizing and compiling a kernel-based virtual machine module to obtain a first running module, the first running module supporting a dual-active mode; and causing a machine virtualizer to use the first running module, obtaining a second running module by compiling according to an upgrade version of codes of the first running module, wherein the second running module is an upgrade version of the first running module, and the machine virtualizer switches to use the second running module.

Claims (43)

1. A method comprising:

reorganizing and compiling a kernel-based virtual machine module to obtain a first running module, the first running module supporting a dual-active mode;

causing a machine virtualizer to use the first running module when an online upgrade is performed;

compiling an upgrade version of codes of the first running module to obtain a second running module, the second running module being an upgrade version of the first running module;

adding parameters in the machine virtualizer, the parameters being used for switching the machine virtualizer from using an export facility of the first running module to an export facility of the second running module; and

switching the machine virtualizer to use the second running module after the online upgrade is completed.

2. The method of claim 1 , wherein reorganizing and compiling the kernel-based virtual machine module comprises:

integrating a minimal functional portion that supports running of one or more virtual machines and support running modules in the dual-active mode in the kernel-based virtual machine module into a support module, the support module being used for supporting all the running modules; and

integrating portions in the kernel-based virtual machine module that are not included in the support module into the first running module.

3. The method of claim 2 , further comprising causing the support module to support the first running module and the second running module.

4. The method of claim 1 , further comprising inserting the second running module into a kernel after obtaining the second running module.

5. The method of claim 1 , wherein the first running module and the second running module use different export facilities, the export facilities being used for exporting respective user state interfaces.

6. The method of claim 1 , further comprising removing the first running module after switching the machine virtualizer to use the second running module.

7. The method of claim 1 , further comprising upgrading the machine virtualizer.

8. An apparatus comprising:

one or more processors;

memory storing executable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:

reorganizing and compiling a kernel-based virtual machine module to obtain a first running module, the first running module supporting a dual-active mode; and

causing a machine virtualizer to:

use the first running module,

obtain a second running module by compiling according to an upgrade version of codes of the first running module,

add parameters for switching from using an export facility of the first running module to an export facility of the second running module, and

switch to use the second running module,

wherein the second running module is an upgrade version of the first running module.

9. The apparatus of claim 8 , the acts further comprising:

integrating a minimal functional portion that supports virtual machine running and support running modules in the dual-active mode in the kernel-based virtual machine module into a support module, the support module being used for supporting the running modules; and

integrating portions in the kernel-based virtual machine module that are not included in the support module into the first running module.

10. The apparatus of claim 8 , further comprising inserting the second running module into a kernel after the second running module is obtained.

11. The apparatus of claim 8 , wherein the first running module and the second running module use different export facilities, the export facilities being used for exporting respective user state interfaces.

12. One or more processor-readable media storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:

reorganizing and compiling a kernel-based virtual machine module to obtain a first running module, the first running module supporting a dual-active mode;

causing a machine virtualizer to use the first running module when an online upgrade is performed;

compiling an upgrade version of codes of the first running module to obtain a second running module, the second running module being an upgrade version of the first running module;

adding parameters in the machine virtualizer, the parameters being used for switching the machine virtualizer from using an export facility of the first running module to an export facility of the second running module; and

switching the machine virtualizer to use the second running module after the online upgrade is completed.

13. The one or more processor-readable media of claim 12 , wherein reorganizing and compiling the kernel-based virtual machine module comprises:

integrating a minimal functional portion that supports running of one or more virtual machines and support running modules in the dual-active mode in the kernel-based virtual machine module into a support module, the support module being used for supporting all the running modules; and

integrating portions in the kernel-based virtual machine module that are not included in the support module into the first running module.

14. The one or more processor-readable media of claim 13 , the acts further comprising causing the support module to support the first running module and the second running module.

15. The one or more processor-readable media of claim 12 , the acts further comprising inserting the second running module into a kernel after obtaining the second running module.

16. The one or more processor-readable media of claim 15 , wherein the first running module and the second running module use different export facilities, the export facilities being used for exporting respective user state interfaces.

17. The one or more processor-readable media of claim 12 , the acts further comprising removing the first running module after switching the machine virtualizer to use the second running module.

18. The one or more processor-readable media of claim 12 , the acts further comprising upgrading the machine virtualizer.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 21, 2026
From: ALIBABA GROUP HOLDING LIMITED
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075478/0225 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2018
From: ZHANG, XIANTAO; FU, JUNKANG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 045529/0262 →
Priority Claims (1)
CN 2015 1 0230762 · May 7, 2015 · national
Continuity (2)
Continuation PCTCN2016079160 · Apr 13, 2016
Related Publication 20180060111A1 · Mar 1, 2018