# US 10,481,942 B2 · Virtual machine suspension

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

- Number: US 10,481,942 B2
- Document ID: US10481942B2
- Status: Granted
- Kind: B2
- Application number: 15/979,083
- Filed: 2018-05-14
- Published: 2018-09-27
- Granted: 2019-11-19
- Earliest claimed: 2013-02-26
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Yaniv Kaul
- Web page: https://patentgrep.com/patent/US10481942B2

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for suspending operation of a virtual machine executed by a processing device of a host computing system. The method and system include storing state information of the virtual machine to a memory of the guest operating system. A notification is sent to an application of the virtual machine to enable the application to flush data prior to suspension of the operation of the virtual machine. Upon receipt of a confirmation that the state information is stored in the memory of the guest operating system, the state information is migrated to storage of the host computing system.

## Claims

### Claim 1

A method comprising:
receiving a request to suspend an operation of a guest operating system executing on a virtual machine executed by a processing device of a host computing system comprising host storage;
storing state information of the virtual machine to a memory of the guest operating system;
placing the virtual machine in a sleep mode to produce a notification to an application executing on the virtual machine, wherein the notification enables the application to flush data to a disk prior to suspension of the operation of the virtual machine;
receiving, from the guest operating system, a confirmation that the state information is stored in the memory of the guest operating system; and
in response to receiving the confirmation, migrating the state information from the memory of the guest operating system to the host storage.

### Claim 2 (depends on 1)

The method of claim 1, further comprising migrating the state information from the host storage to the memory of the guest operating system.

### Claim 3 (depends on 2)

The method of claim 2, further comprising issuing a resume instruction to the guest operating system to cause a resuming of the operation of the virtual machine.

### Claim 4 (depends on 3)

The method of claim 3, further comprising sending a further notification to the application indicating the resuming of the operation of the virtual machine.

### Claim 5 (depends on 1)

The method of claim 1, further comprising storing information associated with a virtual machine device to the memory of the guest operating system.

### Claim 6 (depends on 1)

The method of claim 1, further comprising sending a command to the virtual machine to cause the storing of the state information of the virtual machine to the memory of the guest operating system.

### Claim 7 (depends on 1)

The method of claim 1, wherein the notification further enables the application to perform at least one of: conserving power, disconnecting a tunnel, disconnecting an open connection, securing the application, saving a draft of an open document, or completing a database transaction.

### Claim 8

A system comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
receive a request to suspend an operation of a guest operating system executing on a virtual machine executed by a processing device of a host computing system comprising host storage;
store state information of the virtual machine to a memory of the guest operating system;
place the virtual machine in a sleep mode to produce send a notification to an application executing on the virtual machine, wherein the notification enables the application to flush data to a disk prior to suspension of the operation of the virtual machine;
receive, from the guest operating system, a confirmation that the state information is stored in the memory of the guest operating system; and
in response to receipt of the confirmation, migrate the state information from the memory of the guest operating system to the host storage.

### Claim 9 (depends on 8)

The system of claim 8, the processing device to migrate the virtual machine information from the host storage to the memory of the guest operating system.

### Claim 10 (depends on 9)

The system of claim 9, the processing device to issue a resume instruction to the guest operating system to cause a resuming of the operation of the virtual machine.

### Claim 11 (depends on 8)

The system of claim 8, the processing device to send a further notification to the application indicating the resuming of the operation of the virtual machine.

### Claim 12 (depends on 8)

The system of claim 8, the processing device to store information associated with a virtual machine device to the memory of the guest operating system.

### Claim 13 (depends on 8)

The system of claim 8, the processing device to send a command to the virtual machine to cause the storing of the state information of the virtual machine to the memory.

### Claim 14 (depends on 8)

The system of claim 8, wherein the notification further enables the application to perform at least one of: conserving power, disconnecting a tunnel, disconnecting an open connection, securing the application, saving a draft of an open document, or completing a database transaction.

### Claim 15

A non-transitory computer readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
receive a request to suspend an operation of a guest operating system executing on a virtual machine executed by a processing device of a host computing system comprising host storage;
store state information of the virtual machine to a memory of the guest operating system;
place the virtual machine in a sleep mode to produce a notification to an application executing on the virtual machine, wherein the notification enables the application to flush data prior to suspension of the operation of the virtual machine;
send a notification to an application of the virtual machine to enable the application to flush data to a disk prior to suspension of the operation of the virtual machine;
receive, from the guest operating system, a confirmation that the state information is stored in the memory of the guest operating system; and
in response to receipt of the confirmation, migrate the state information from the memory of the guest operating system to the host storage.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the processing device to migrate the virtual machine information from the host storage to the memory of the guest operating system.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, the processing device to issue a resume instruction to the guest operating system to cause a resuming of the operation of the virtual machine.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the processing device to send a further notification to the application indicating the resuming of the operation of the virtual machine.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the processing device to store information associated with a virtual machine device to the memory of the guest operating system.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the processing device to send a command to the virtual machine to cause the storing of the state information of the virtual machine to the memory.
