Patent ID: 9588798
Date: 2017-03-07
CPC Classifications: G06F

Claim:
1. A software safe shutdown system, comprising: a memory configured to store program code; a processor operable to read the program code from the memory and operate as instructed by the program code to implement: an OS anomalous shutdown detection unit configured to detect that an operating system running inside a virtual machine, which is executed by a computer system, freezes due to a memory leak; a memory resource allocation unit configured to allocate a memory resource required for recovering a console function of the frozen operating system running inside the virtual machine from a memory resource available in the computer system, in response to the detection of the frozen operating system; and a console acquisition unit configured to assign the allocated memory resource to the frozen operating system running inside the virtual machine for recovering the console function of the operating system, and after the console function has been recovered, normally shut down the virtual machine by recovering an anomalous condition of software using the console function.