IP Library › Granted Patent US 9,792,138
Granted Patent B2
US 9,792,138 · App. 14/625,560 · Granted Oct 17, 2017

Virtual machine migration to hyper visors with virtual function capability

Inventors: Alona Kaplan (Raanana, IL); Michael Kolesnik (Ramat Gan, IL)
Assignee: Red Hat Israel, Ltd.
G06F9/45558G06F2009/4557G06F2009/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 9,792,138
App. No.
14/625,560
Granted
Oct 17, 2017
Kind
B2
Abstract

A virtualization manager receives a request to migrate a virtual machine from a source hypervisor to a destination hypervisor supporting virtual function capability. Responsive to determining that an availability status indicates that a virtual function is available for use on the destination hypervisor by the virtual machine, the virtualization manager migrates the virtual machine from the source hypervisor to the destination hypervisor. Responsive to determining that the virtual machine has been migrated to the destination hypervisor successfully, the virtualization manager connects the identified virtual function to the virtual machine.

Claims (55)

1. A method comprising:

receiving, by a processing device executing a virtualization manager, a request to migrate a virtual machine from a source hypervisor to a destination hypervisor;

identifying a logical network associated with the virtual machine on the source hypervisor;

identifying a virtual function associated with the logical network on the destination hypervisor in view of an availability status that indicates whether the virtual function is available for use;

responsive to determining that the availability status indicates that the virtual function is available for use on the destination hypervisor, modifying the availability status to indicate that the virtual function is no longer available, and

migrating, by the processing device executing the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor;

responsive to determining that the virtual machine has been migrated to the destination hypervisor successfully, connecting, by the processing device executing the virtualization manager, the identified virtual function to the virtual machine; and

responsive to determining that the migration of the virtual machine to the destination hypervisor has not been completed successfully, modifying the availability status to indicate that the virtual function is available for use on the destination hypervisor.

2. The method of claim 1 , further comprising:

creating a temporary virtual network associated with the identified logical network on the destination hypervisor.

3. The method of claim 2 , wherein the temporary virtual network comprises a connection between a virtual bridge and a networking device associated with the identified logical network.

4. The method of claim 2 , wherein migrating the virtual machine comprises:

connecting a virtual interface of the virtual machine to the temporary virtual network on the hypervisor.

5. The method of claim 4 , further comprising:

disconnecting the virtual interface of the virtual machine from the temporary virtual network; and

removing the temporary virtual network from the destination hypervisor.

6. The method of claim 5 , further comprising:

configuring the virtual interface to connect to the identified virtual function.

7. A computing apparatus comprising: a memory; and

a processing device, operatively coupled to the memory, to execute a virtualization manager to:

receive a request to migrate a virtual machine from a source hypervisor to a destination hypervisor;

identify a logical network associated with the virtual machine on the source hypervisor;

identifying a virtual function associated with the logical network on the destination hypervisor in view of an availability status that indicates whether the virtual function is available for use;

responsive to determining that an availability status indicates that a virtual function is available for use on the destination hypervisor by the virtual machine, modify the availability status to indicate that the virtual function is no longer available, and

migrate, by the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor;

responsive to determining that the virtual machine has been migrated to the destination hypervisor successfully, connect, by the virtualization manager, the virtual function to the virtual machine; and

responsive to determining that the migration of the virtual machine to the destination hypervisor has not been completed successfully, modify the availability status to indicate that the virtual function is available for use on the destination hypervisor.

8. The apparatus of claim 7 , wherein the processing device is further to:

identify a logical network associated with the virtual machine on the source hypervisor;

identify the virtual function associated with the logical network on the destination hypervisor in view of the availability status that indicates whether the virtual function is available for use; and

create a temporary virtual network associated with the identified logical network on the destination hypervisor.

9. The apparatus of claim 8 , wherein the temporary virtual network comprises a connection between a virtual bridge and a networking device associated with the identified logical network.

10. The apparatus of claim 8 , wherein to migrate the virtual machine, the processing device is to:

connect a virtual interface of the virtual machine to the temporary virtual network on the hypervisor.

11. The apparatus of claim 10 , wherein the processing device is further to:

disconnect the virtual interface of the virtual machine from the temporary virtual network; and

remove the temporary virtual network from the destination hypervisor.

12. The apparatus of claim 11 , wherein the processing device is further to:

configure the virtual interface to connect to the identified virtual function.

13. A non-transitory computer readable storage medium, having instructions stored therein, which when executed by a processing device of a computer system, cause the processing device to:

receive, by the processing device executing a virtualization manager, a request to migrate a virtual machine from a source hypervisor to a destination hypervisor;

identify a logical network associated with the virtual machine on the source hypervisor;

identifying a virtual function associated with the logical network on the destination hypervisor in view of an availability status that indicates whether the virtual function is available for use;

responsive to determining that the availability status indicates that the virtual function is available for use on the destination hypervisor, modify the availability status to indicate that the virtual function is no longer available, and

migrate, by the processing device executing the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor; create a temporary virtual network associated with the identified logical network on the destination hypervisor;

responsive to determining that the virtual machine has been migrated to the destination hypervisor successfully, connect, by the processing device executing the virtualization manager, the identified virtual function to the virtual machine; and

responsive to determining that the migration of the virtual machine to the destination hypervisor has not been completed successfully, modify the availability status to indicate that the virtual function is available for use on the destination hypervisor.

14. The non-transitory computer readable storage medium of claim 13 , wherein the temporary virtual network comprises a connection between a virtual bridge and a networking device associated with the identified logical network.

15. The non-transitory computer readable storage medium of claim 13 , wherein to migrate the virtual machine, the processing device is to:

connect a virtual interface of the virtual machine to the temporary virtual network on the hypervisor.

16. The non-transitory computer readable storage medium of claim 15 , wherein the processing device is further to:

disconnect the virtual interface of the virtual machine from the temporary virtual network; and

remove the temporary virtual network from the destination hypervisor.

17. The non-transitory computer readable storage medium of claim 16 , wherein the processing device is further to:

configure the virtual interface to connect to the identified virtual function.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 28, 2015
From: KAPLAN, ALONA; KOLESNIK, MICHAEL
To: RED HAT ISRAEL, LTD.
Reel/Frame 035520/0288 →
Continuity (1)
Related Publication 20160239328A1 · Aug 18, 2016