IP Library › Granted Patent US 10,572,289
Granted Patent B2
US 10,572,289 · App. 15/687,865 · Granted Feb 25, 2020

Guest-initiated announcement of virtual machine migration

Inventors: Michael Tsirkin (Westford, MA); Amnon Ilan (Raanana, IL)
Assignee: Red Hat Israel, Ltd.
G06F9/45558G06F2009/4557G06F2009/45575G06F2009/45583G06F2009/45595
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,572,289
App. No.
15/687,865
Granted
Feb 25, 2020
Kind
B2
Abstract

Systems and methods for implementing guest-initiated announcement of virtual machine migration. An example method may comprise: receiving, by an origin hypervisor running on an origin computer system, a migration announcement of a virtual machine; copying at least a part of a state of the virtual machine to a destination computer system; and responsive to stopping the virtual machine on the origin computer system, causing a destination hypervisor running on the destination computer system to broadcast the migration announcement over a network associated with the destination computer system.

Claims (40)

1. A method, comprising:

storing, by a virtual machine running on an origin computer system, a migration announcement in a memory buffer;

notifying, by the virtual machine, an origin hypervisor running on the origin computer system of an address of the memory buffer;

updating, by the virtual machine, the migration announcement to reflect modifications of a network configuration of the virtual machine;

copying, by the origin hypervisor, at least a part of a state of the virtual machine to a destination computer system, wherein the part of the state comprises the memory buffer; and

responsive to stopping the virtual machine on the origin computer system, causing a destination hypervisor running on the destination computer system to broadcast the migration announcement over a network associated with the destination computer system.

2. The method of claim 1 , wherein the memory buffer resides in a memory mapped into an address space of the virtual machine.

3. The method of claim 1 , wherein the migration announcement comprises a Layer 2 (data link layer) address associated with a virtual network interface of the virtual machine.

4. The method of claim 1 , wherein the migration announcement comprises a Layer 3 (network layer) address associated with a virtual network interface of the virtual machine.

5. The method of claim 1 , wherein the migration announcement comprises an identifier of a virtual local area network (VLAN) associated with a virtual network interface of the virtual machine.

6. The method of claim 1 , wherein the migration announcement comprises a Reverse Address Resolution Protocol (RARP) message.

7. The method of claim 1 , wherein causing the destination hypervisor to broadcast the migration announcement further comprises:

notifying the destination hypervisor of an address of a memory buffer storing the migration announcement.

8. The method of claim 1 , wherein stopping the virtual machine on the origin computer system is performed responsive to determining that a migration convergence condition has been satisfied.

9. The method of claim 1 , wherein updating the migration announcement is performed before migration of the virtual machine to the destination computer system is started.

10. The method of claim 1 , wherein broadcasting the migration announcement is performed while the virtual machine is blocked during a post-copy migration phase.

11. A computer system, comprising:

a memory; and

a processor, coupled to the memory, to:

cause a virtual machine running on the computer system, to store a migration announcement in a memory buffer;

cause the virtual machine to notify an origin hypervisor running on the computer system of an address of the memory buffer;

cause the virtual machine to reflect a modification of a network configuration parameter of the virtual machine by updating the migration announcement;

cause the origin hypervisor to copy at least a part of a state of the virtual machine to a destination computer system, wherein the part of the state comprises the memory buffer; and

cause a destination hypervisor running on the destination computer system to broadcast the migration announcement over a network associated with the destination computer system.

12. The system of claim 11 , wherein the memory buffer resides in a memory mapped into an address space of the virtual machine.

13. The system of claim 11 , wherein the migration announcement comprises at least one of: a Layer 2 (data link layer) address associated with a virtual network interface of the virtual machine, a Layer 3 (network layer) address associated with a virtual network interface of the virtual machine, or an identifier of a virtual local area network (VLAN) associated with a virtual network interface of the virtual machine.

14. The system of claim 11 , wherein the migration announcement comprises a Reverse Address Resolution Protocol (RARP) message.

15. The system of claim 11 , further comprising:

causing the destination hypervisor to perform a post-copy migration phase before resuming the virtual machine.

16. A computer-readable non-transitory storage medium comprising executable instructions that, when executed by an origin computer system, cause the origin computer system to:

store, by a virtual machine running on the origin computer system, a migration announcement in a memory buffer;

notify, by the virtual machine, an origin hypervisor running on the origin computer system of an address of the memory buffer;

responsive to detecting a modification of a networking parameter of the virtual machine, update, by the virtual machine, the migration announcement stored in the memory buffer;

copy at least a part of a state of the virtual machine to a destination computer system, wherein the part of the state comprises the memory buffer; and

responsive to stopping the virtual machine on the origin computer system, broadcast the migration announcement over a network associated with the destination computer system.

17. The computer-readable non-transitory storage medium of claim 16 , wherein the memory buffer resides in a memory mapped into an address space of the virtual machine.

18. The computer-readable non-transitory storage medium of claim 16 , wherein the migration announcement comprises at least one of: a Layer 2 (data link layer) address associated with a virtual network interface of the virtual machine, a Layer 3 (network layer) address associated with a virtual network interface of the virtual machine, or an identifier of a virtual local area network (VLAN) associated with a virtual network interface of the virtual machine.

19. The computer-readable non-transitory storage medium of claim 18 , wherein causing the destination hypervisor to broadcast the migration announcement further comprises:

notifying the destination hypervisor of the address of the memory buffer.

20. The computer-readable non-transitory storage medium of claim 18 , wherein stopping the virtual machine on the origin computer system is performed responsive to determining that a migration convergence condition has been satisfied.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 28, 2017
From: TSIRKIN, MICHAEL; ILAN, AMNON
To: RED HAT ISRAEL, LTD.
Reel/Frame 043426/0004 →
Continuity (1)
Related Publication 20190065228A1 · Feb 28, 2019