IP Library › Granted Patent US 8,819,678
Granted Patent B2
US 8,819,678 · App. 12/968,819 · Granted Aug 26, 2014

Live migration of a guest from a source hypervisor to a target hypervisor

Inventor: Michael Tsirkin (Yokneam, IL)
Assignee: Red Hat Israel, Ltd.
G06F9/445G06F9/44505G06F9/45558G06F9/45533G06F8/60G06F11/1438G06F2009/45575H04L29/06
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 8,819,678
App. No.
12/968,819
Granted
Aug 26, 2014
Kind
B2
Abstract

A method and system for sending early notification when a guest migrates in a virtual machine system. A guest hosted by a computer system is migrating from a source hypervisor to a target hypervisor. During the migration, the source hypervisor stops transmission of outbound packets from the guest. A signal is sent to the target hypervisor after stopping the transmission and before completing migration of the guest. The signal requests that a notification containing network addresses of the guest be sent to network devices associated with the target hypervisor.

Claims (39)

1. A method comprising:

initiating, by a source hypervisor executed by a processing device, migration of a guest, wherein the migration comprises copying guest data from the source hypervisor to a target hypervisor;

preventing by the source hypervisor, during the migration, subsequent changes to network addresses of the guest;

transmitting to the target hypervisor, by the source hypervisor, a notification before all of the guest data has been copied to the target hypervisor, wherein the notification specifies a network address of the guest and is separate from the guest data copied to the target hypervisor; and

transmitting to the target hypervisor, by the source hypervisor a signal requesting that the notification be sent to a network device associated with the target hypervisor;

wherein the signal is transmitted after the notification via a management component in response to a status request from the target hypervisor.

2. The method of claim 1 , further comprising:

receiving, by the source hypervisor, an indication that the migration is unsuccessful; and

restarting by the source hypervisor, in response to the indication, virtual machine for the guest; and

notifying a network device associated with the source hypervisor of the network address.

3. The method of claim 1 , wherein the preventing comprises stopping transmission of outbound packets from the guest.

4. The method of claim 3 , wherein the stopping transmission comprises stopping a virtual machine associated with the guest.

5. The method of claim 1 , wherein the signal originates from the management component.

6. The method of claim 1 , wherein the management component is directed by at least one of an administrator, a script, or an application.

7. A system comprising:

a network interface device; and

a processing device, coupled to the network interface device, to:

execute a target hypervisor and a management component,

receive at the target hypervisor an indication of a migration of a guest to the target hypervisor, wherein the migration comprises copying guest data from a source hypervisor to the target hypervisor,

receive at the target hypervisor, from the source hypervisor, a notification that specifies a network address of the guest and that is separate from the guest data copied to the target hypervisor,

receive at the target hypervisor, via the management component, a signal from the source hypervisor requesting that the notification be sent to a network device associated with the target hypervisor, wherein the signal is received after the notification and before all of the guest data has been copied to the target hypervisor, and wherein the signal is in response to a status request from the target hypervisor, and

transmit by the target hypervisor, via the network interface device, the network address to the network device.

8. The system of claim 7 , wherein the processing device is further to stop transmission of outbound packets from the guest when the migration is unsuccessful.

9. The system of claim 8 , wherein the stopping transmission of outbound packets comprises stopping a virtual machine associated with the guest.

10. The system of claim 7 , wherein the

signal originates from the management component.

11. The system of claim 7 , wherein the management component is directed by at least one of an administrator, a script, or an application.

12. The system of claim 7 , wherein

the network address of the guest does not change during the migration.

13. A non-transitory computer readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:

initiating, by a source hypervisor executed by the processing device, migration of a guest, wherein the migration comprises copying guest data from the source hypervisor to a target hypervisor;

preventing by the source hypervisor, during the migration, subsequent changes to network addresses of the guest; and

transmitting to the target hypervisor by the source hypervisor, a signal requesting that a notification be sent to a network device associated with the target hypervisor, wherein the signal is transmitted in response to a status request from the target hypervisor, and wherein the signal is transmitted via a management component before all of the guest data has been copied to the target hypervisor, and wherein the notification specifies a network address of the guest and is separate from the guest data copied to the target hypervisor.

14. The computer readable storage medium of claim 13 , wherein the operations further comprise:

receiving, by the source hypervisor, an indication that the migration is unsuccessful; and

restarting by the source hypervisor, in response to the indication, a virtual machine for the guest.

15. The computer readable storage medium of claim 13 , wherein the preventing comprises stopping transmission of outbound packets from the guest.

16. The computer readable storage medium of claim 15 , wherein the stopping transmission comprises stopping a virtual machine associated with the guest.

17. The computer readable storage medium of claim 13 , wherein the signal originates from the management component.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2010
From: TSIRKIN, MICHAEL
To: RED HAT ISRAEL, LTD.
Reel/Frame 025505/0740 →
Continuity (1)
Related Publication 20120159473A1 · Jun 21, 2012