summaryrefslogtreecommitdiff
path: root/repo/libvirt/libvirt-guests.confd
blob: ed2ce58064a8919f3c39506485b0d6874ce56a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# /etc/conf.d/libvirtd

# LIBVIRT_URIS
# space separated list of libvirt URIs to communicate with to start/stop guests
# Valid values are anything that can be passed to 'virsh connect'

#LIBVIRT_URIS="qemu:///system"


# LIBVIRT_SHUTDOWN
# Valid options:
# * managedsave - Performs a state save external to the VM (for hypervisors
#                 supporting this operation). qemu-kvm will stop the CPU
#                 and save off all state to a separate file. When the
#                 machine is started again, it will resume like nothing
#                 ever happened. This is guarenteed to always successfully
#                 stop your machine and restart it.
#
# * shutdown -    Sends an ACPI shutdown (think of this as a request to
#                 your guest to shutdown). There is no way to distinguish
#                 between guests that are ignoring the shutdown request or
#                 are stuck or are taking a long time to shutdown. We will
#                 wait LIBVIRT_MAXWAIT seconds before yanking the power
#                 out.
#
# * destroy  -    Immediately stop all running guests. Use with caution as
#                 this can leave the guest in a corrupted state and might
#                 lead to data loss.
#

#LIBVIRT_SHUTDOWN="managedsave"


# LIBVIRT_MAXWAIT
# Timeout in seconds until stopping a guest and "pulling the plug" on the
# guest
# Valid values are any integer over 0

#LIBVIRT_MAXWAIT="500"


# LIBVIRT_START
# If this value is set to 'no', then guests and networks that were shutdown
# by this script when it was stopped will not be started when it is started
# back up.
# Valid values are yes or no

#LIBVIRT_START="yes"


# LIBVIRT_IGNORE_AUTOSTART
# If the VM is marked for autostart in its XML configuration then we won't
# save its start when the init script is stopped. The result is that when
# the init script starts back up, no attempt will be made to start the VM or
# confirm it is started.
# Valid values are yes or no

#LIBVIRT_IGNORE_AUTOSTART="no"


# LIBVIRT_NET_SHUTDOWN
# If libvirtd created networks for you (e.g. NATed networks) then this init
# script will shut them down for you if this is set to 'yes'. Otherwise,
# the networks will be left running. For this option to be useful you must
# have enabled the 'virt-network' USE flag and have had libvirt create a
# NATed network for you. Valid values: 'yes' or 'no'

#LIBVIRT_NET_SHUTDOWN="yes"