VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/terminate-vm-default-action.dita@ 99009

Last change on this file since 99009 was 98549, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Uploading .dita user manual files we received from the doc team on 25th Jan.

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
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="terminate-vm-default-action">
4 <title>Default Action when Terminating the VM</title>
5
6 <body>
7 <p>
8 You can define a specific action for terminating a VM. In
9 contrast to the setting decribed in the previous section, this
10 setting allows only one action when the user terminates the VM.
11 No exit menu is shown. Use the following command:
12 </p>
13 <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> GUI/DefaultCloseAction <varname>action</varname>
14 </pre>
15 <p><varname>action</varname> is one of the following:
16 </p>
17 <dl>
18 <dlentry>
19 <dt>
20 <codeph>SaveState</codeph>
21 </dt>
22 <dd>
23 <p>
24 Save the VM state before terminating the VM process.
25 </p>
26 </dd>
27 </dlentry>
28 <dlentry>
29 <dt>
30 <codeph>Shutdown</codeph>
31 </dt>
32 <dd>
33 <p>
34 The VM is shut down by sending the ACPI power-off event to
35 the guest.
36 </p>
37 </dd>
38 </dlentry>
39 <dlentry>
40 <dt>
41 <codeph>PowerOff</codeph>
42 </dt>
43 <dd>
44 <p>
45 The VM is powered off.
46 </p>
47 </dd>
48 </dlentry>
49 <dlentry>
50 <dt>
51 <codeph>PowerOffRestoringSnapshot</codeph>
52 </dt>
53 <dd>
54 <p>
55 The VM is powered off and the saved state returns to the
56 last snapshot.
57 </p>
58 </dd>
59 </dlentry>
60 <dlentry>
61 <dt>
62 <codeph>Detach</codeph>
63 </dt>
64 <dd>
65 <p>
66 Terminate the frontend but leave the VM process running.
67 </p>
68 </dd>
69 </dlentry>
70 </dl>
71 <p>
72 This is a per-VM setting. You can specify any combination of
73 properties. If all properties are specified, the VM cannot be
74 shut down.
75 </p>
76 </body>
77
78</topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette