libvirt-guests.confd 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # /etc/conf.d/libvirtd
  2. # LIBVIRT_URIS
  3. # space separated list of libvirt URIs to communicate with to start/stop guests
  4. # Valid values are anything that can be passed to 'virsh connect'
  5. #LIBVIRT_URIS="qemu:///system"
  6. # LIBVIRT_SHUTDOWN
  7. # Valid options:
  8. # * managedsave - Performs a state save external to the VM (for hypervisors
  9. # supporting this operation). qemu-kvm will stop the CPU
  10. # and save off all state to a separate file. When the
  11. # machine is started again, it will resume like nothing
  12. # ever happened. This is guarenteed to always successfully
  13. # stop your machine and restart it.
  14. #
  15. # * shutdown - Sends an ACPI shutdown (think of this as a request to
  16. # your guest to shutdown). There is no way to distinguish
  17. # between guests that are ignoring the shutdown request or
  18. # are stuck or are taking a long time to shutdown. We will
  19. # wait LIBVIRT_MAXWAIT seconds before yanking the power
  20. # out.
  21. #
  22. # * destroy - Immediately stop all running guests. Use with caution as
  23. # this can leave the guest in a corrupted state and might
  24. # lead to data loss.
  25. #
  26. #LIBVIRT_SHUTDOWN="managedsave"
  27. # LIBVIRT_MAXWAIT
  28. # Timeout in seconds until stopping a guest and "pulling the plug" on the
  29. # guest
  30. # Valid values are any integer over 0
  31. #LIBVIRT_MAXWAIT="500"
  32. # LIBVIRT_START
  33. # If this value is set to 'no', then guests and networks that were shutdown
  34. # by this script when it was stopped will not be started when it is started
  35. # back up.
  36. # Valid values are yes or no
  37. #LIBVIRT_START="yes"
  38. # LIBVIRT_IGNORE_AUTOSTART
  39. # If the VM is marked for autostart in its XML configuration then we won't
  40. # save its start when the init script is stopped. The result is that when
  41. # the init script starts back up, no attempt will be made to start the VM or
  42. # confirm it is started.
  43. # Valid values are yes or no
  44. #LIBVIRT_IGNORE_AUTOSTART="no"
  45. # LIBVIRT_NET_SHUTDOWN
  46. # If libvirtd created networks for you (e.g. NATed networks) then this init
  47. # script will shut them down for you if this is set to 'yes'. Otherwise,
  48. # the networks will be left running. For this option to be useful you must
  49. # have enabled the 'virt-network' USE flag and have had libvirt create a
  50. # NATed network for you. Valid values: 'yes' or 'no'
  51. #LIBVIRT_NET_SHUTDOWN="yes"