Virtual machine suspension
AssigneeRed Hat Israel, Ltd.
InventorYaniv Kaul
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.