US 12,277,040 B2
In-place recovery of fatal system errors at virtualization hosts
Binit Ranjan Mishra, Kenmore, WA (US); Mukhtar Ahmed, Everett, WA (US); Christina Marianne Curlette, Redmond, WA (US); Steven Adrian West, Redmond, WA (US); Gaurav Jagtiani, Kirkland, WA (US); Naga Kiran Govindaraju, Medina, WA (US); James George Cavalaris, Bothell, WA (US); Drew Douglas Cross, Bothell, WA (US); Jason Stewart Wohlgemuth, Seattle, WA (US); James Anthony Schwartz, Jr., Seattle, WA (US); Jennifer Marie Bourlier, Seattle, WA (US); Sri Harsha Kanukuntla, Morganville, NJ (US); Emma Sutherland Boyd, Richmond, VA (US); Scott Chao-Chueh Lee, Bellevue, WA (US); Vijaybalaji Madhanagopal, Redmond, WA (US); Terence Kwok Tak Chan, Redmond, WA (US); Yuri Dotsenko, Redmond, WA (US); Peter Hanpeng Jiang, Kirkland, WA (US); Aacer Hatem Daken, Renton, WA (US); Emily Nicole Wilson, Seattle, WA (US); Emily Cara Clemens, Snohomish, WA (US); Cody Dean Hartwig, Seattle, WA (US); Raz Meir Aloni, Seattle, WA (US); Sharon Scarlet Tang, Kirkland, WA (US); Minsang Kim, Bellevue, WA (US); and Shen Wang, Sammamish, WA (US)
Assigned to Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Jun. 7, 2023, as Appl. No. 18/330,651.
Claims priority of provisional application 63/494,205, filed on Apr. 4, 2023.
Prior Publication US 2024/0338282 A1, Oct. 10, 2024
Int. Cl. G06F 11/14 (2006.01); G06F 11/07 (2006.01)
CPC G06F 11/1471 (2013.01) [G06F 11/0772 (2013.01); G06F 11/1441 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method implemented in a computer system that includes a processor system, comprising:
identifying an occurrence of a fatal system error in a first instance of a host operating system (OS) executing in the computer system;
determining to perform an in-place recovery for the fatal system error, wherein the in-place recovery preserves a virtual machine (VM) in the computer system while transitioning from the first instance of the host OS to a second instance of the host OS executing at the computer system; and
performing the in-place recovery, including,
pausing execution of the VM by the first instance of the host OS;
preserving a state of the VM within a system memory of the computer system;
preserving a virtualization stack state from a first virtualization stack in the first instance of the host OS;
restoring the virtualization stack state into a second virtualization stack in the second instance of the host OS; and
resuming the execution of the VM by the second instance of the host OS using the state of the VM that is preserved within the system memory of the computer system.