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 | <xref href="images/vm-close.png" format="png" platform="htmlhelp">
|
---|
18 | <image href="images/vm-close.png" width="10cm" placement="break">
|
---|
19 | <alt>Closing Down a Virtual Machine</alt>
|
---|
20 | </image>
|
---|
21 | </xref>
|
---|
22 | <image platform="ohc" href="images/vm-close.png" width="10cm" placement="break">
|
---|
23 | <alt>Closing Down a Virtual Machine</alt>
|
---|
24 | </image>
|
---|
25 | </fig>
|
---|
26 | <p>
|
---|
27 | The difference between the three options is crucial. They mean
|
---|
28 | the following:
|
---|
29 | </p>
|
---|
30 | <ul>
|
---|
31 | <li>
|
---|
32 | <p><b outputclass="bold">Save the machine state:</b>
|
---|
33 | With this option, Oracle VM VirtualBox
|
---|
34 | <i>freezes</i> the virtual machine by
|
---|
35 | completely saving its state to your local disk.
|
---|
36 | </p>
|
---|
37 | <p>
|
---|
38 | When you start the VM again later, you will find that the VM
|
---|
39 | continues exactly where it was left off. All your programs
|
---|
40 | will still be open, and your computer resumes operation.
|
---|
41 | Saving the state of a virtual machine is thus in some ways
|
---|
42 | similar to suspending a laptop computer by closing its lid.
|
---|
43 | </p>
|
---|
44 | </li>
|
---|
45 | <li>
|
---|
46 | <p><b outputclass="bold">Send the shutdown signal.</b>
|
---|
47 | This will send an ACPI shutdown signal to the virtual
|
---|
48 | machine, which has the same effect as if you had pressed the
|
---|
49 | power button on a real computer. This should trigger a
|
---|
50 | proper shutdown mechanism from within the VM.
|
---|
51 | </p>
|
---|
52 | </li>
|
---|
53 | <li>
|
---|
54 | <p><b outputclass="bold">Power off the machine:</b> With
|
---|
55 | this option, Oracle VM VirtualBox also stops running the virtual
|
---|
56 | machine, but <i>without</i> saving its state.
|
---|
57 | </p>
|
---|
58 | <note type="attention">
|
---|
59 | <p>
|
---|
60 | This is equivalent to pulling the power plug on a real
|
---|
61 | computer without shutting it down properly. If you start
|
---|
62 | the machine again after powering it off, your OS will have
|
---|
63 | to reboot completely and may begin a lengthy check of its
|
---|
64 | virtual system disks. As a result, this should not
|
---|
65 | normally be done, since it can potentially cause data loss
|
---|
66 | or an inconsistent state of the guest system on disk.
|
---|
67 | </p>
|
---|
68 | </note>
|
---|
69 | <p>
|
---|
70 | As an exception, if your virtual machine has any snapshots,
|
---|
71 | see <xref href="snapshots.dita#snapshots"/>, you can use this option to
|
---|
72 | quickly <b outputclass="bold">restore the current
|
---|
73 | snapshot</b> of the virtual machine. In that case,
|
---|
74 | powering off the machine will discard the current state and
|
---|
75 | any changes made since the previous snapshot was taken will
|
---|
76 | be lost.
|
---|
77 | </p>
|
---|
78 | </li>
|
---|
79 | </ul>
|
---|
80 | <p>
|
---|
81 | The <b outputclass="bold">Discard</b> button in the
|
---|
82 | VirtualBox Manager window discards a virtual machine's saved state. This
|
---|
83 | has the same effect as powering it off, and the same warnings
|
---|
84 | apply.
|
---|
85 | </p>
|
---|
86 | </body>
|
---|
87 |
|
---|
88 | </topic>
|
---|