# US 2013/0254368 A1 · System and method for supporting live migration of virtual machines in an infiniband network

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

- Number: US 2013/0254368 A1
- Document ID: US20130254368A1
- Status: Published application
- Kind: A1
- Application number: 13/837,922
- Filed: 2013-03-15
- Published: 2013-09-26
- Earliest claimed: 2012-03-26
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Wei Lin Guay; Bjørn Dag Johnsen
- Web page: https://patentgrep.com/patent/US20130254368A1

## CPC

- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 45/02: Topology update or discovery
- H04L 45/64: using an overlay routing layer
- H04L 47/76: using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L 49/358: {Infiniband Switches}
- H04L 49/70: {Virtual switches}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method can support virtual machine live migration in a network. A plurality of hosts can be interconnected via the network. Each host contains one or more virtual machines. At least one virtual machine operates to perform a live migration from a first host to a second host. The virtual function, which is attached to a queue pair (QP), can be supported by a host channel adapter (HCA) on a host.

## Claims

### Claim 1

A system for supporting virtual machine live migration in a network, comprising:
one or more microprocessors;
a plurality of hosts, running on the one or more microprocessors, wherein the plurality of hosts are interconnected via the network; and
one or more virtual machines, wherein at least one virtual machine in the one or more virtual machines operates to perform a live migration from a first host to a second host,
wherein said at least one virtual machine is attached with a virtual function that is associated with a queue pair (QP), wherein the QP is supported by a host channel adapter (HCA) on a host.

### Claim 2 (depends on 1)

The system according to claim 1, further comprising:
at least one virtual machine monitor that manages the one or more virtual machines.

### Claim 3 (depends on 1)

The system according to claim 1, wherein:
said virtual function is provided in an input/output (I/O) virtualization model.

### Claim 4 (depends on 1)

The system according to claim 1, wherein:
said at least one virtual machine includes
a user space, wherein the user space includes one or more user processes, each of which is associated with a process identification number (PID), and
a kernel space, wherein the kernel space includes a translation table that maps a PID to a queue pair number (QPN), and wherein the translation table is used to detach the virtual function from the at least one virtual machine.

### Claim 5 (depends on 1)

The system according to claim 1, wherein:
a late-detach migration process is used to reduce network/service down-time during virtual machine live migration.

### Claim 6 (depends on 1)

The system according to claim 1, wherein:
one or more location-dependent QP attributes can be updated after the at least one virtual machine is migrated from the first host to the second host.

### Claim 7 (depends on 6)

The system according to claim 6, wherein:
each user process include a mapping table that operates to optimize searching and retrieving the updated one or more location-dependent QP attributes.

### Claim 8 (depends on 1)

The system according to claim 1, wherein:
QP state information can be migrated along with an image of said at least one virtual machine in order to reallocate physical resources of QPs.

### Claim 9 (depends on 1)

The system according to claim 1, wherein:
a peer QP can halt communication with the QP during the live migration of said at least one virtual machine.

### Claim 10 (depends on 9)

The system according to claim 9, wherein:
a connection manager (CM) can reestablish a new connection between the migrated QP and the peer QP after the migration is completed.

### Claim 11

A method for supporting virtual machine live migration in a network, comprising:
providing a plurality of hosts, wherein the plurality of hosts are interconnected via the network;
providing one or more virtual machines, wherein at least one virtual machine in the one or more virtual machines machine is attached with a virtual function that is associated with a queue pair (QP), wherein the QP is supported by a host channel adapter (HCA) on a host; and
performing, via said at least one virtual machine, a live migration from a first host to a second host.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
providing at least one virtual machine monitor that manages the one or more virtual machines.

### Claim 13 (depends on 11)

The method according to claim 11, further comprising:
associating said virtual function with a queue pair (QP) that is supported by a host channel adapter(HCA) on the first host.

### Claim 14 (depends on 11)

The system according to claim 11, further comprising:
including a user space in said at least one virtual machine, wherein the user space includes one or more user processes, each of which is associated with a process identification number (PID), and
including a kernel space in said at least one virtual machine, wherein the kernel space includes a translation table that maps a PID to a queue pair number (QPN), and wherein the translation table is used to detach the virtual function from the at least one virtual machine.

### Claim 15 (depends on 11)

The method according to claim 11, further comprising:
using a late-detach migration process to reduce network/service down-time during virtual machine live migration.

### Claim 16 (depends on 11)

The method according to claim 11, further comprising:
updating one or more location-dependent QP attributes after the at least one virtual machine is migrated from the first host to the second host.

### Claim 17 (depends on 16)

The method according to claim 16, further comprising:
associating a mapping table with each user process, wherein the mapping table operates to optimize searching and retrieving the updated one or more location-dependent QP attributes.

### Claim 18 (depends on 11)

The method according to claim 11, further comprising:
migrating QP state information along with an image of said at least one virtual machine in order to reallocate physical resources of QPs.

### Claim 19 (depends on 11)

The method according to claim 11, further comprising:
configuring a peer QP to halt communication with the QP during the live migration of said at least one virtual machine.

### Claim 20

A non-transitory machine readable storage medium having instructions stored thereon that when executed cause a system to perform the steps comprising:
providing a plurality of hosts, wherein the plurality of hosts are inter-connected via the network;
providing one or more virtual machines, wherein at least one virtual machine in the one or more virtual machines machine is attached with a virtual function that is associated with a queue pair (QP), wherein the QP is supported by a host channel adapter (HCA) on a host; and
performing, via said at least one virtual machine, a live migration from a first host to a second host.
