1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="intro-save-machine-state">
|
---|
4 | <title>Saving the State of the Machine</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>
|
---|
8 | When you click on the <b outputclass="bold">Close</b>
|
---|
9 | button of your virtual machine window, at the top right of the
|
---|
10 | window, just like you would close any other window on your
|
---|
11 | system, Oracle VM VirtualBox asks you whether you want to save or
|
---|
12 | power off the VM. As a shortcut, you can also press
|
---|
13 | <b outputclass="bold">Host key + Q</b>.
|
---|
14 | </p>
|
---|
15 | <fig id="fig-vm-close">
|
---|
16 | <title>Closing Down a Virtual Machine</title>
|
---|
17 | <image href="images/vm-close.png" placement="break"/>
|
---|
18 | </fig>
|
---|
19 | <p>
|
---|
20 | The difference between the three options is crucial. They mean
|
---|
21 | the following:
|
---|
22 | </p>
|
---|
23 | <ul>
|
---|
24 | <li>
|
---|
25 | <p><b outputclass="bold">Save the machine state:</b>
|
---|
26 | With this option, Oracle VM VirtualBox
|
---|
27 | <i>freezes</i> the virtual machine by
|
---|
28 | completely saving its state to your local disk.
|
---|
29 | </p>
|
---|
30 | <p>
|
---|
31 | When you start the VM again later, you will find that the VM
|
---|
32 | continues exactly where it was left off. All your programs
|
---|
33 | will still be open, and your computer resumes operation.
|
---|
34 | Saving the state of a virtual machine is thus in some ways
|
---|
35 | similar to suspending a laptop computer by closing its lid.
|
---|
36 | </p>
|
---|
37 | </li>
|
---|
38 | <li>
|
---|
39 | <p><b outputclass="bold">Send the shutdown signal.</b>
|
---|
40 | This will send an ACPI shutdown signal to the virtual
|
---|
41 | machine, which has the same effect as if you had pressed the
|
---|
42 | power button on a real computer. This should trigger a
|
---|
43 | proper shutdown mechanism from within the VM.
|
---|
44 | </p>
|
---|
45 | </li>
|
---|
46 | <li>
|
---|
47 | <p><b outputclass="bold">Power off the machine:</b> With
|
---|
48 | this option, Oracle VM VirtualBox also stops running the virtual
|
---|
49 | machine, but <i>without</i> saving its state.
|
---|
50 | </p>
|
---|
51 | <note type="attention">
|
---|
52 | <p>
|
---|
53 | This is equivalent to pulling the power plug on a real
|
---|
54 | computer without shutting it down properly. If you start
|
---|
55 | the machine again after powering it off, your OS will have
|
---|
56 | to reboot completely and may begin a lengthy check of its
|
---|
57 | virtual system disks. As a result, this should not
|
---|
58 | normally be done, since it can potentially cause data loss
|
---|
59 | or an inconsistent state of the guest system on disk.
|
---|
60 | </p>
|
---|
61 | </note>
|
---|
62 | <p>
|
---|
63 | As an exception, if your virtual machine has any snapshots,
|
---|
64 | see <xref href="snapshots.dita#snapshots"/>, you can use this option to
|
---|
65 | quickly <b outputclass="bold">restore the current
|
---|
66 | snapshot</b> of the virtual machine. In that case,
|
---|
67 | powering off the machine will discard the current state and
|
---|
68 | any changes made since the previous snapshot was taken will
|
---|
69 | be lost.
|
---|
70 | </p>
|
---|
71 | </li>
|
---|
72 | </ul>
|
---|
73 | <p>
|
---|
74 | The <b outputclass="bold">Discard</b> button in the
|
---|
75 | VirtualBox Manager window discards a virtual machine's saved state. This
|
---|
76 | has the same effect as powering it off, and the same warnings
|
---|
77 | apply.
|
---|
78 | </p>
|
---|
79 | </body>
|
---|
80 |
|
---|
81 | </topic>
|
---|