aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libvirt/libvirt.confd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-07 12:23:02 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-07 12:23:02 +0000
commite86eb0b226fb7d73624781995f3828187ae5ca37 (patch)
tree3ce1082225410a19b2c0f447eaf2c2ec4901c22b /testing/libvirt/libvirt.confd
parent7dcde6882accac3b40fa04be0c9e81976d598491 (diff)
downloadaports-e86eb0b226fb7d73624781995f3828187ae5ca37.tar.gz
aports-e86eb0b226fb7d73624781995f3828187ae5ca37.tar.bz2
aports-e86eb0b226fb7d73624781995f3828187ae5ca37.tar.xz
testing/libvirt: new aport
Diffstat (limited to 'testing/libvirt/libvirt.confd')
-rw-r--r--testing/libvirt/libvirt.confd27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libvirt/libvirt.confd b/testing/libvirt/libvirt.confd
new file mode 100644
index 0000000000..d51bdb99d1
--- /dev/null
+++ b/testing/libvirt/libvirt.confd
@@ -0,0 +1,27 @@
+# /etc/conf.d/libvirtd
+
+# You may want to add '--listen' to have libvirtd listen for tcp/ip connections
+# if you want to use libvirt for remote control
+
+# Please consult 'libvirtd --help' for more options
+
+#LIBVIRTD_OPTS="--listen"
+
+# Valid options:
+# * shutdown - Sends an ACPI shutdown (think when you tap the power button
+# on your machine and it begins a graceful shutdown). If your
+# VM ignores this, it will have the power yanked out from under
+# it in LIBVIRTD_KVM_SHUTDOWN_MAXWAIT seconds.
+# * managedsave - Performs a state save external to the VM. qemu-kvm will stop
+# 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. However it may take some time to finish.
+# * none - No attempts will be made to stop any VMs. If you are restarting your
+# machine the qemu-kvm process will be simply killed, which may result
+# in your VMs having disk corruption.
+LIBVIRTD_KVM_SHUTDOWN="managedsave"
+
+# Timeout in seconds until stopping libvirtd and "pulling the plug" on the
+# remaining VM's still in a running state
+#LIBVIRTD_KVM_SHUTDOWN_MAXWAIT="500"