IP Library Granted Patent US 10,628,203
Granted Patent B1
US 10,628,203 · App. 15/888,691 · Granted Apr 21, 2020

Facilitating hibernation mode transitions for virtual machines

Inventors: Yuri Ovchinnikov (Moscow, RU); Nikolay Dobrovolskiy (Moscow, RU); Serguei Beloussov (Singapore, SG)
Assignee: Parallels International GmbH
G06F9/45558G06F1/3296G06F13/4068G06F2009/4557G06F2009/45579
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,628,203
App. No.
15/888,691
Granted
Apr 21, 2020
Kind
B1
Abstract

Systems and methods for facilitating hibernation mode transitions for virtual machines. An example method comprises: disabling modifications of a hardware configuration parameter of a virtual machine running in a hibernation state on a host computer system; and responsive to determining the hardware configuration parameter of the virtual machine has been modified, causing the virtual machine to discard, upon awakening, a previously saved memory state.

Claims (46)

1. A method, comprising:

saving a memory state of a virtual machine to produce a saved memory state, wherein the virtual machine is running in an active state on a host computer system;

causing the virtual machine to transition to a hibernation state;

determining that while the virtual machine was in the hibernation state, a hardware configuration parameter of the virtual machine has been modified; and

responsive to the determining, causing the virtual machine to discard, upon awakening, the saved memory state.

2. The method of claim 1 , further comprising:

responsive to the determining, modifying a boundary of a memory region associated with the virtual machine.

3. The method of claim 1 , further comprising:

responsive to the determining, moving, upwards by one memory page, a pointer to an upper address of an Advanced Configuration Power Interface (ACPI) non-volatile storage region.

4. The method of claim 1 , further comprising:

responsive to the determining, moving, downwards by one memory page, a pointer to an upper address of an ACPI non-volatile storage region.

5. The method of claim 1 , further comprising:

responsive to detecting an active user session associated with the virtual machine running in the active state, causing deactivation of a user interface control employed for modifying the hardware configuration parameter.

6. The method of claim 5 , further comprising:

responsive to detecting termination of the active user session associated with the virtual machine running in the active state, enabling modification of the hardware configuration parameter of the virtual machine.

7. The method of claim 1 , further comprising:

responsive to detecting an active user session associated with the virtual machine running in the active state, intercepting a virtualization application programming interface (API) call attempting to modify the hardware configuration parameter.

8. The method of claim 1 , wherein the hardware configuration parameter is represented by one of: a number of virtual processors associated with the virtual machine, a memory map associated with the virtual machine, or a configuration parameter of a peripheral device associated with the virtual machine.

9. A system, comprising:

a memory; and

a processing device coupled to the memory, the processing device configured to:

save a memory state of a virtual machine to produce a saved memory state, wherein the virtual machine is running in an active state on a host computer system associated with the processing device;

cause the virtual machine to transition to a hibernation state;

determine that while the virtual machine was in the hibernation state, a hardware configuration parameter of the virtual machine has been modified; and

responsive to the determining, cause the virtual machine to discard, upon awakening, the saved memory state.

10. The system of claim 9 , wherein the processing device is further configured to:

responsive to detecting an active user session associated with the virtual machine running in the active state, cause deactivation of a user interface control employed for modifying the hardware configuration parameter.

11. The system of claim 9 , wherein the hibernation state of the virtual machine is represented by an Advanced Configuration Power Interface (ACPI) S4 state.

12. The system of claim 9 , wherein the hardware configuration parameter is represented by one of: a number of virtual processors associated with the virtual machine, a memory map associated with the virtual machine, or a configuration parameter of a peripheral device associated with the virtual machine.

13. The system of claim 9 , wherein the processing device is further configured to:

responsive to the determining, modify a boundary of a memory region associated with the virtual machine.

14. The system of claim 9 , wherein the processing device is further configured to:

responsive to the determining, modifying a pointer to an upper address of an ACPI non-volatile storage region.

15. The system of claim 9 , wherein the processing device is further configured to:

responsive to detecting termination of an active user session associated with the virtual machine running in the active state, enable modification of the hardware configuration parameter of the virtual machine.

16. A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a host computer system, cause the host computer system to:

save a memory state of a virtual machine to produce a saved memory state, wherein the virtual machine is running in an active state on the host computer system;

cause the virtual machine to transition to a hibernation state;

determining that while the virtual machine was in the hibernation state, a hardware configuration parameter of the virtual machine has been modified; and

responsive to the determining, cause the virtual machine to discard, upon awakening, the saved memory state.

17. The non-transitory computer-readable storage medium of claim 16 , wherein a current state of the virtual machine is represented by an Advanced Configuration Power Interface (ACPI) S4 state.

18. The non-transitory computer-readable storage medium of claim 16 , wherein the hardware configuration parameter is represented by one of: a number of virtual processors associated with the virtual machine, a memory map associated with the virtual machine, or a configuration parameter of a peripheral device associated with the virtual machine.

19. The non-transitory computer-readable storage medium of claim 16 , further comprising executable instructions to cause the host computer system to:

responsive to the determining, modify a boundary of a memory region associated with the virtual machine.

20. The non-transitory computer-readable storage medium of claim 16 , further comprising executable instructions to cause the host computer system to:

responsive to determining the hardware configuration parameter of the virtual machine has been modified, modify a pointer to an upper address of an ACPI non-volatile storage region.

Assignments (5)
RELEASE OF SECURITY INTEREST Recorded Jul 18, 2019
From: UBS AG, STAMFORD BRANCH, AS ADMINISTRATIVE AND COLLATERAL AGENT
To: COREL CORPORATION; CLEARSLIDE, INC.; PARALLELS INTERNATIONAL GMBH
Reel/Frame 049787/0073 →
RELEASE OF SECURITY INTEREST RECORDED AT : REEL 047973 FRAME 0797 Recorded Jul 17, 2019
From: UBS AG, STAMFORD BRANCH
To: PARALLELS INTERNATIONAL GMBH
Reel/Frame 049773/0590 →
SECURITY INTEREST Recorded Dec 21, 2018
From: PARALLELS INTERNATIONAL GMBH
To: UBS AG, STAMFORD BRANCH
Reel/Frame 047973/0797 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 4, 2018
From: OVCHINNIKOV, YURI; DOBROVOLSKIY, NIKOLAY; BELOUSSOV, SERGUEI
To: PARALLELS IP HOLDINGS GMBH
Reel/Frame 047070/0059 →
CHANGE OF NAME Recorded Oct 4, 2018
From: PARALLELS IP HOLDINGS GMBH
To: PARALLELS INTERNATIONAL GMBH
Reel/Frame 047070/0097 →
Continuity (1)
Continuation 15178029 · Jun 9, 2016