IP Library Granted Patent US 10,387,187
Granted Patent B2
US 10,387,187 · App. 15/644,412 · Granted Aug 20, 2019

Saving data for virtual machine (VM) sessions upon update of host operating system

Inventors: Zhikai Chen (Beijing, CN); Zhibin He (Beijing, CN); Xi Chen (Beijing, CN); Wen Wang (Beijing, CN)
Assignee: VMware, Inc.
G06F9/45558G06F9/4401G06F9/4406G06F2009/45562G06F2009/45575
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,387,187
App. No.
15/644,412
Granted
Aug 20, 2019
Kind
B2
Abstract

A method of rebooting a computing system in which a virtual machine (VM) runs on top of a hypervisor and a host operating system (OS) includes the following steps. Those steps are sending, from the host OS to the hypervisor, a pre-reboot notification that the host OS is going to reboot, in response to reception of the pre-reboot notification, saving by the hypervisor state of a session that is executing in the VM, rebooting the host OS, after the host OS is rebooted, logging on to the host OS using a credential provider that was previously registered with the host OS and sending a post-reboot notification from the host OS to the hypervisor, and in response to reception of the post-reboot notification, instantiating by the hypervisor a VM in which the session is resumed using the saved state of the session.

Claims (53)

1. A method of rebooting a computing system in which a virtual machine (VM) runs on top of a hypervisor and a host operating system (OS), the method comprising:

sending, from the host OS to the hypervisor, a pre-reboot notification that the host OS is going to reboot;

in response to reception of the pre-reboot notification, saving by the hypervisor state of a session that is executing in the VM;

rebooting the host OS;

after the host OS is rebooted, logging on to the host OS using a credential provider that was previously registered with the host OS and sending a post-reboot notification from the host OS to the hypervisor; and

in response to reception of the post-reboot notification, instantiating by the hypervisor a VM in which the session is resumed using the saved state of the session.

2. The method according to claim 1 , further comprising:

returning an acknowledgement by the hypervisor to the host OS, upon completing an operation to save the state of the session, wherein the host OS is rebooted in response to reception of the acknowledgement.

3. The method according to claim 1 , wherein

the post-reboot notification is sent to the hypervisor in response to the logging on to the host OS.

4. The method according to claim 1 , further comprising:

registering the credential provider with the host OS; and

registering, by the hypervisor, for the pre-reboot notification, such that the host OS sends the pre-reboot notification to the hypervisor when the host OS reboots.

5. The method according to claim 1 , further comprising:

registering, by the hypervisor, for the post-reboot notification, such that the host OS sends the post-reboot notification to the hypervisor when the host OS completes to reboot.

6. The method according to claim 1 , wherein

the state of the session is saved in a nonvolatile storage device of the computing system.

7. The method according to claim 1 , wherein

the state of the session is saved in an external storage device that is connected to the computing system through a network.

8. The method according to claim 1 , wherein

said instantiating the VM includes rebooting a guest operating system inside the VM.

9. A non-transitory computer readable medium comprising instructions to be executed in a computing system in which a virtual machine (VM) runs on top of a host operating system (OS) to cause the computing system to carry out a method of rebooting the computing system, the method comprising:

causing the host OS to send a pre-reboot notification that the host OS is going to reboot before the host OS starts to reboot;

in response to reception of the pre-reboot notification, saving state of a session that is executing in the VM; and

in response to reception of a post-reboot notification that is received from the host OS after a reboot of the host OS and a logging on to the host OS using a credential provider that was previously registered with the host OS, instantiating a VM in which the session is resumed using the saved state of the session.

10. The non-transitory computer readable medium according to claim 9 , wherein the method further comprises:

returning an acknowledgement to the host OS, upon completing an operation to save the state of the session, wherein the host OS is rebooted in response to reception of the acknowledgement.

11. The non-transitory computer readable medium according to claim 9 , wherein the method further comprises:

registering for the pre-reboot notification, such that the host OS sends the pre-reboot notification when the host OS reboots; and

registering for the post-reboot notification, such that the host OS sends the post-reboot notification when the host OS completes to reboot.

12. The non-transitory computer readable medium according to claim 9 , wherein

the state of the session is saved in a nonvolatile storage device of the computing system.

13. The non-transitory computer readable medium according to claim 9 , wherein

the state of the session is saved in an external storage device that is connected to the computing system through a network.

14. The non-transitory computer readable medium according to claim 9 , wherein

said instantiating the VM includes rebooting a guest operating system inside the VM.

15. A computing system in which a virtual machine (VM) runs on top of a hypervisor and a host operating system (OS), and that is configured to carry out a method comprising:

sending, from the host OS to the hypervisor, a pre-reboot notification that the host OS is going to reboot;

in response to reception of the pre-reboot notification, saving by the hypervisor state of a session that is executing in the VM;

rebooting the host OS;

after the host OS is rebooted, logging on to the host OS using a credential provider that was previously registered with the host OS and sending a post-reboot notification from the host OS to the hypervisor; and

in response to reception of the post-reboot notification, instantiating by the hypervisor a VM in which the session is resumed using the saved state of the session.

16. The computing system according to claim 15 , wherein the method further comprises:

returning an acknowledgement by the hypervisor to the host OS, upon completing an operation to save the state of the session, wherein the host OS is rebooted in response to reception of the acknowledgement.

17. The computing system according to claim 15 , wherein

the host OS sends the post-reboot notification to the hypervisor in response to the logging on to the host OS.

18. The computing system according to claim 15 , wherein the method further comprises:

registering the credential provider with the host OS; and

registering, by the hypervisor, for the pre-reboot notification, such that the host OS sends the pre-reboot notification to the hypervisor when the host OS reboots.

19. The computing system according to claim 15 , wherein the method further comprises:

registering, by the hypervisor, for the post-reboot notification, such that the host OS sends the post-reboot notification to the hypervisor when the host OS completes to reboot.

20. The computing system according to claim 15 , wherein

the state of the session is saved in a nonvolatile storage device of the computing system.

Assignments (4)
PATENT ASSIGNMENT Recorded Aug 5, 2024
From: VMWARE LLC
To: OMNISSA, LLC
Reel/Frame 068327/0365 →
SECURITY INTEREST Recorded Jul 3, 2024
From: OMNISSA, LLC
To: UBS AG, STAMFORD BRANCH
Reel/Frame 068118/0004 →
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 11, 2017
From: CHEN, ZHIKAI; HE, ZHIBIN; CHEN, XI; WANG, WEN
To: VMWARE, INC.
Reel/Frame 042976/0813 →
Continuity (1)
Related Publication 20190012192A1 · Jan 10, 2019