# US 2016/0239328 A1 · Virtual machine migration to sr-iov capable hypervisors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0239328 A1
- Document ID: US20160239328A1
- Status: Published application
- Kind: A1
- Application number: 14/625,560
- Filed: 2015-02-18
- Published: 2016-08-18
- Earliest claimed: 2015-02-18
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Alona Kaplan; Michael Kolesnik
- Web page: https://patentgrep.com/patent/US20160239328A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim 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, migrating, by the processing device executing the the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor; and
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.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
modifying the availability status to indicate that the virtual function is not available; and
creating a temporary virtual network associated with the identified logical network on the destination hypervisor.

### Claim 3 (depends on 2)

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.

### Claim 4 (depends on 2)

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.

### Claim 5 (depends on 4)

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.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
configuring the virtual interface to connect to the identified virtual function.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
responsive to determining that the virtual machine has not been migrated to the destination hypervisor successfully, modifying the availability status to indicate that the virtual function is available.

### Claim 8

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;
responsive to determining that an availability status indicates that a virtual function is available for use on the destination hypervisor by the virtual machine, migrate, by the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor; and
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.

### Claim 9 (depends on 8)

The apparatus of claim 8, 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;
modify the availability status to indicate that the virtual function is not available; and
create a temporary virtual network associated with the identified logical network on the destination hypervisor.

### Claim 10 (depends on 9)

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

### Claim 11 (depends on 9)

The apparatus of claim 9, 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.

### Claim 12 (depends on 11)

The apparatus of claim 11, 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.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the processing device is further to:
configure the virtual interface to connect to the identified virtual function.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the processing device is further to:
responsive to determining that the virtual machine has not been migrated to the destination hypervisor successfully, modify the availability status to indicate that the virtual function is available.

### Claim 15

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, migrate, by the processing device executing the virtualization manager, the virtual machine from the source hypervisor to the destination hypervisor;
modify the availability status to indicate that the virtual function is not available;
create a temporary virtual network associated with the identified logical network on the destination hypervisor; and
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.

### Claim 16 (depends on 15)

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

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, 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.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, 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.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the processing device is further to:
configure the virtual interface to connect to the identified virtual function.

### Claim 20 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the processing device is further to:
responsive to determining that the virtual machine has not been migrated to the destination hypervisor successfully, modify the availability status to indicate that the virtual function is available.
