1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | manpage, user manual, usage: VBoxManage discardstate
|
---|
4 | -->
|
---|
5 | <!--
|
---|
6 | Copyright (C) 2006-2020 Oracle Corporation
|
---|
7 |
|
---|
8 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | available from http://www.virtualbox.org. This file is free software;
|
---|
10 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | General Public License (GPL) as published by the Free Software
|
---|
12 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | -->
|
---|
16 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
17 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
18 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
19 | %all.entities;
|
---|
20 | ]>
|
---|
21 | <refentry id="vboxmanage-discardstate" lang="en">
|
---|
22 | <refentryinfo>
|
---|
23 | <pubdate>$Date: 2022-08-18 17:27:14 +0000 (Thu, 18 Aug 2022) $</pubdate>
|
---|
24 | <title>VBoxManage discardstate</title>
|
---|
25 | </refentryinfo>
|
---|
26 |
|
---|
27 | <refmeta>
|
---|
28 | <refentrytitle>VBoxManage-discardstate</refentrytitle>
|
---|
29 | <manvolnum>1</manvolnum>
|
---|
30 | </refmeta>
|
---|
31 |
|
---|
32 | <refnamediv>
|
---|
33 | <refname>VBoxManage-discardstate</refname>
|
---|
34 | <refpurpose>discard the saved state of a virtual machine</refpurpose>
|
---|
35 | <refclass>&product-name;</refclass>
|
---|
36 | </refnamediv>
|
---|
37 |
|
---|
38 | <refsynopsisdiv>
|
---|
39 | <cmdsynopsis id="synopsis-vboxmanage-discardstate">
|
---|
40 | <!-- The 'id' is mandatory and must start with 'synopsis-'. -->
|
---|
41 | <command>VBoxManage discardstate</command>
|
---|
42 | <group choice="req">
|
---|
43 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
44 | <arg choice="plain"><replaceable>vmname</replaceable></arg>
|
---|
45 | </group>
|
---|
46 | </cmdsynopsis>
|
---|
47 | </refsynopsisdiv>
|
---|
48 |
|
---|
49 | <refsect1>
|
---|
50 | <title>Description</title>
|
---|
51 | <para>
|
---|
52 | The <command>VBoxManage discardstate</command> command discards
|
---|
53 | the saved state of a virtual machine (VM) that is not currently
|
---|
54 | running. This command causes the VM's operating system to restart
|
---|
55 | the next time you start the VM.
|
---|
56 | </para>
|
---|
57 | <note>
|
---|
58 | <para>
|
---|
59 | Where possible, avoid performing this action. The effects of
|
---|
60 | this command are equivalent to unplugging the power cable on a
|
---|
61 | physical machine.
|
---|
62 | </para>
|
---|
63 | </note>
|
---|
64 | <variablelist>
|
---|
65 | <varlistentry>
|
---|
66 | <term><replaceable>uuid</replaceable>|<replaceable>vmname</replaceable></term>
|
---|
67 | <listitem><para>
|
---|
68 | Specifies the Universally Unique Identifier (UUID) or name
|
---|
69 | of the VM.
|
---|
70 | </para></listitem>
|
---|
71 | </varlistentry>
|
---|
72 | </variablelist>
|
---|
73 | </refsect1>
|
---|
74 |
|
---|
75 | <refsect1>
|
---|
76 | <title>Examples</title>
|
---|
77 | <remark role="help-scope" condition="GLOBAL" />
|
---|
78 | <para>
|
---|
79 | The following command discards the saved state file for the VM
|
---|
80 | called <filename>vm2</filename>. When you next start the VM, the
|
---|
81 | VM's operating system is restarted.
|
---|
82 | </para>
|
---|
83 | <screen>$ VBoxManage discardstate vm2</screen>
|
---|
84 | </refsect1>
|
---|
85 |
|
---|
86 | <refsect1>
|
---|
87 | <title>See Also</title>
|
---|
88 | <para>
|
---|
89 | <xref linkend="vboxmanage-adoptstate"/>
|
---|
90 | </para>
|
---|
91 | </refsect1>
|
---|
92 | </refentry>
|
---|