# US 2014/0157271 A1 · User datagram protocol (udp) packet migration in a virtual machine (vm) migration

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

- Number: US 2014/0157271 A1
- Document ID: US20140157271A1
- Status: Published application
- Kind: A1
- Application number: 14/090,523
- Filed: 2013-11-26
- Published: 2014-06-05
- Earliest claimed: 2012-11-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Eli M. Dow; James P. Gilchrest; Steven K. Schmidt; Jessie Yu
- Web page: https://patentgrep.com/patent/US20140157271A1

## CPC

- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- H04L 69/164: Adaptation or special uses of UDP protocol
- 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

Embodiments of the invention relate to receiving, by a first processor comprising a processing device, an indication that a migration of a virtual machine from the first processor to a second processor is to occur. The first processor transmits user datagram protocol (UDP) packets intended for the virtual machine to the second processor based on the indication. A signal is transmitted to the virtual machine to enter an offline state, wherein the offline states comprises a transfer of at least one of a central processing unit (CPU) state and a memory state, and wherein the virtual machine is configured to halt a processing of the UDP packets in response to receiving the signal. The virtual machine is reactivated once the migration of the virtual machine from the first processor to the second processor is complete. The virtual machine is instructed to resume the processing of the UDP packets.

## Claims

### Claim 1

A method comprising:
receiving, by a first processor comprising a processing device, an indication that a migration of a virtual machine from the first processor to a second processor is to occur;
transmitting, by the first processor, user datagram protocol (UDP) packets intended for the virtual machine to the second processor based on the indication;
transmitting a signal to the virtual machine to enter an offline state, wherein the offline states comprises a transfer of at least one of a central processing unit (CPU) state and a memory state, and wherein the virtual machine is configured to halt a processing of the UDP packets in response to receiving the signal;
reactivating the virtual machine once the migration of the virtual machine from the first processor to the second processor is complete; and
instructing the virtual machine to resume the processing of the UDP packets.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
buffering, by the first processor, the UDP packets; and
transmitting, by the first processor, the buffered UDP packets to the second processor once the migration of the virtual machine to the second processor is complete.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
ordering, by the first processor, the UDP packets,
wherein the transmission of the UDP packets to the second processor is based on the ordering of the UDP packets.

### Claim 4 (depends on 2)

The method of claim 2, wherein the UDP packets are buffered in kernel or userspace memory in at least one of a guest and a hypervisor.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
transmitting, by the first processor, the UDP packets intended for the virtual machine to the second processor without buffering the UDP packets at the first processor.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
instructing the virtual machine to reorder the UDP packets prior to processing the packets.
