# US 2012/0254866 A1 · System for migrating a virtual machine between computers

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

- Number: US 2012/0254866 A1
- Document ID: US20120254866A1
- Status: Published application
- Kind: A1
- Application number: 13/431,017
- Filed: 2012-03-27
- Published: 2012-10-04
- Earliest claimed: 2011-03-31
- Assignees: Fujitsu Limited
- Inventors: Noboru IWAMATSU; Naoki NISHIGUCHI
- Web page: https://patentgrep.com/patent/US20120254866A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 3/061: {Improving I/O performance}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 11/2017: {where memory access, memory control or I/O control functionality is redundant (redundant communication control functionality G06F11/2005; redundant storage control functionality G06F11/2089)}
- G06F 13/122: {where hardware performs an I/O function other than control of data transfer}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An I/O device performs data input and data output between the I/O device and first and second computers. An I/O switch relays input and output data between the I/O device and each of the first and second computers. A device emulator emulates the I/O device when a virtual machine running on the first computer and directly accessing the I/O device is migrated from the first computer to the second computer. A connection controller controls switching connection between any one of the first and second computers and any one of the I/O device and the device emulator. The first computer is connected to the I/O device and the second computer is connected to the device emulator until the virtual machine running on the first computer is stopped, and the second computer is connected to the I/O device after the virtual machine running on the first computer is stopped.

## Claims

### Claim 1

A system for migrating a virtual machine between computers, the system comprising:
a first computer in which a first virtual machine is created;
a second computer to which the first virtual machine created in the first computer is migrated;
an I/O device to perform data input and data output between the I/O device and each of the first and second computers; and
an I/O switch to relay input and output data between the I/O device and each of the first and second computers, wherein
a device emulator is configured to emulate the I/O device when the virtual machine running on the first computer and directly accessing the I/O device is migrated from the first computer to the second computer; and
a connection controller is configured so that
the first computer is connected to the I/O device and the second computer is connected to the device emulator until the virtual machine running on the first computer is stopped, and
the second computer is connected to the I/O device after the virtual machine running on the first computer is stopped.

### Claim 2 (depends on 1)

The system of claim 1, wherein
the device emulator and the connection controller are configured with the I/O switch under control of the first computer.

### Claim 3 (depends on 1)

The system of claim 1, wherein,
after the device emulator and the connection controller are configured, the first computer connects the second computer to the device emulator when the second computer is in a state in which a second virtual machine is created as a virtual machine that is migrated from the first virtual machine and an operation of the created second virtual machine is suspended.

### Claim 4

An apparatus connectable to a plurality of computers and a plurality of I/O devices, the apparatus comprising:
a device emulator to emulate a designated one of the plurality of I/O devices; and
a switching controller to switch a connection destination of each of the plurality of computers between the device emulator and the I/O device being emulated by the device emulator.

### Claim 5

A system for migrating a virtual machine between computers, the system comprising:
an I/O device;
a first computer including a first I/O port to be connected to the I/O device;
a second computer including a second I/O port to be connected to the I/O device; and
an I/O switch connected to the first and second I/O ports, the I/O switch being configured to switch connection between any one of the first and second I/O ports and the I/O device connected to the I/O switch, the I/O device including a configuration register to hold address information that is set for performing direct memory access (DMA) transfer, the I/O switch including:
a configuration register transfer unit to:
acquire configuration space information from the configuration register, and
transfer, to the configuration register, address information that is set based on the acquired configuration space information, and
a device emulator to:
connect with a connection destination computer that is one of the first and second computers to which the I/O switch is to be connected,
emulate the I/O device based on the acquired configuration space information, and
acquire the address information that is set by the connection destination computer, wherein
the I/O switch acquires the configuration space information of the I/O device by connecting the I/O device to the configuration register transfer unit;
the I/O switch acquires the address information that is set by the second computer, by connecting the second computer to the device emulator;
the I/O switch transfers the acquired address information to the configuration register of the I/O device, by connecting the I/O device to the configuration register transfer unit; and
the I/O switch switches a connection destination of the second computer from the device emulator to the I/O device to which the acquired address information has been transferred.
