IP Library › Granted Patent US 9,342,360
Granted Patent B2
US 9,342,360 · App. 14/702,179 · Granted May 17, 2016

Workload migration between virtualization softwares

Inventors: Utz Bacher (Weil im Schoenbuch, DE); Reinhard Buendgen (Tuebingen, DE); Einar Lueck (Stuttgart, DE); Angel Nunez Mencias (Stuttgart, DE)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/5016G06F9/45533G06F9/467G06F2009/4557G06F2209/5018
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 9,342,360
App. No.
14/702,179
Granted
May 17, 2016
Kind
B2
Abstract

A virtual machine (VM) migration from a source virtual machine monitor (VMM) to a destination VMM on a computer system. Each of the VMMs includes virtualization software, and one or more VMs are executed in each of the VMMs. The virtualization software allocates hardware resources in a form of virtual resources for the concurrent execution of one or more VMs and the virtualization software. A portion of a memory of the hardware resources includes hardware memory segments. A first portion of the memory segments is assigned to a source logical partition and a second portion is assigned to a destination logical partition. The source VMM operates in the source logical partition and the destination VMM operates in the destination logical partition. The first portion of the memory segments is mapped into a source VMM memory, and the second portion of the memory segments is mapped into a destination VMM memory.

Claims (40)

1. A method comprising:

migrating a virtual machine from a source virtual machine monitor to a destination virtual machine monitor, the migrating comprising:

obtaining configuration information indicating hardware memory segments mapped to the source virtual machine monitor, the hardware memory segments storing data of the virtual machine; and

initiating reassignment of the hardware memory segments to map the hardware memory segments to the destination virtual machine monitor, wherein contents of the hardware memory segments remain intact.

2. The method of claim 1 , wherein the hardware memory segments are initially assigned to a source logical partition in which the source virtual machine monitor operates, and wherein initiating the reassignment of the hardware memory segments initiates reassignment of the hardware memory segments to a destination logical partition in which the destination virtual machine monitor operates.

3. The method of claim 2 , wherein the migrating further comprises:

prior to initiating the reassignment of the hardware memory segments, marking information data structures associated with the hardware memory segments with destination partition identification information and mapping address information; and

initiating reassignment of the information data structures from the source logical partition to the destination logical partition.

4. The method of claim 1 , wherein the migrating further comprises transferring the configuration information from the source virtual machine monitor to the destination virtual machine monitor to facilitate creation of the virtual machine in the destination virtual machine monitor.

5. The method of claim 4 , wherein the migrating further comprises suspending execution of the virtual machine and obtaining the configuration information based on the suspending execution.

6. The method of claim 5 , wherein subsequent to the suspending, virtual resources used for execution of the virtual machine initially remain allocated for execution of the virtual machine, and wherein the migrating further comprises:

exiting the virtual machine in the source virtual machine monitor based on the initiating reassignment of the hardware memory segments; and

freeing the virtual resources based on the exiting.

7. The method of claim 1 , further comprising prior to the initiating reassignment of the hardware memory segments, storing the data of the virtual machine in the hardware memory segments, wherein the stored data of the virtual machine stored in the hardware memory segments comprises all data of the virtual machine stored in a set of all hardware memory segments mapped to the source virtual machine monitor and the hardware memory segments storing the data of the virtual machine contain data of only the virtual machine and no other virtual machines.

8. A computer system configured to perform a method, the method comprising:

migrating a virtual machine from a source virtual machine monitor to a destination virtual machine monitor, the migrating comprising:

obtaining configuration information indicating hardware memory segments mapped to the source virtual machine monitor, the hardware memory segments storing data of the virtual machine; and

initiating reassignment of the hardware memory segments to map the hardware memory segments to the destination virtual machine monitor, wherein contents of the hardware memory segments remain intact.

9. The computer system of claim 8 , wherein the hardware memory segments are initially assigned to a source logical partition in which the source virtual machine monitor operates, and wherein initiating the reassignment of the hardware memory segments initiates reassignment of the hardware memory segments to a destination logical partition in which the destination virtual machine monitor operates.

10. The computer system of claim 9 , wherein the migrating further comprises:

prior to initiating the reassignment of the hardware memory segments, marking information data structures associated with the hardware memory segments with destination partition identification information and mapping address information; and

initiating reassignment of the information data structures from the source logical partition to the destination logical partition.

11. The computer system of claim 8 , wherein the migrating further comprises transferring the configuration information from the source virtual machine monitor to the destination virtual machine monitor to facilitate creation of the virtual machine in the destination virtual machine monitor.

12. The computer system of claim 11 , wherein the migrating further comprises suspending execution of the virtual machine and obtaining the configuration information based on the suspending execution.

13. The computer system of claim 12 , wherein subsequent to the suspending, virtual resources used for execution of the virtual machine initially remain allocated for execution of the virtual machine, and wherein the migrating further comprises:

exiting the virtual machine in the source virtual machine monitor based on the initiating reassignment of the hardware memory segments; and

freeing the virtual resources based on the exiting.

14. The computer system of claim 8 , further comprising prior to the initiating reassignment of the hardware memory segments, storing the data of the virtual machine in the hardware memory segments, wherein the stored data of the virtual machine stored in the hardware memory segments comprises all data of the virtual machine stored in a set of all hardware memory segments mapped to the source virtual machine monitor and the hardware memory segments storing the data of the virtual machine contain data of only the virtual machine and no other virtual machines.

15. A computer program product comprising:

a non-transitory computer readable storage medium storing instructions for execution to perform a method comprising:

migrating a virtual machine from a source virtual machine monitor to a destination virtual machine monitor, the migrating comprising:

obtaining configuration information indicating hardware memory segments mapped to the source virtual machine monitor, the hardware memory segments storing data of the virtual machine; and

initiating reassignment of the hardware memory segments to map the hardware memory segments to the destination virtual machine monitor, wherein contents of the hardware memory segments remain intact.

16. The computer program product of claim 15 , wherein the hardware memory segments are initially assigned to a source logical partition in which the source virtual machine monitor operates, and wherein initiating the reassignment of the hardware memory segments initiates reassignment of the hardware memory segments to a destination logical partition in which the destination virtual machine monitor operates.

17. The computer program product of claim 15 , wherein the migrating further comprises transferring the configuration information from the source virtual machine monitor to the destination virtual machine monitor to facilitate creation of the virtual machine in the destination virtual machine monitor.

18. The computer program product of claim 17 , wherein the migrating further comprises suspending execution of the virtual machine and obtaining the configuration information based on the suspending execution.

19. The computer program product of claim 18 , wherein subsequent to the suspending, virtual resources used for execution of the virtual machine initially remain allocated for execution of the virtual machine, and wherein the migrating further comprises:

exiting the virtual machine in the source virtual machine monitor based on the initiating reassignment of the hardware memory segments; and

freeing the virtual resources based on the exiting.

20. The method of claim 1 , wherein the source virtual machine monitor and destination virtual machine monitor are virtual machine monitors of a single computer system.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 1, 2015
From: BACHER, UTZ; BUENDGEN, REINHARD; LUECK, EINAR; MENCIAS, ANGEL NUNEZ
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035548/0808 →
Priority Claims (1)
GB 1221265.0 · Nov 27, 2012 · national
Continuity (2)
Continuation 14090014 · Nov 26, 2013
Related Publication 20150234684A1 · Aug 20, 2015