[Pkg-libvirt-maintainers] Bug#520080: libvirt-bin: shutdown guests on stop

Michael Biebl biebl at debian.org
Tue Mar 17 08:53:26 UTC 2009


Package: libvirt-bin
Severity: wishlist

Hi,

libvirt-bin has the very nice feature to autostart guests on boot.
It should also provide a possibility to automatically shutdown the guests
when the host is rebooted/restarted (0,6). 
It should do that ideally before K20kvm, so the kvm modules can be unloaded
safely.

There are pros and cons to do that in the stop action of the libvirt-bin
init script or a separate init script.
I hacked together a small, separate init script which runs in 0 and 6 only and
allows to specify a timeout after that all remainin kvm instances are
killed. (I can provide that, but it's a bit crude)
But I obviously would prefer a proper integration in the libvirt-bin
package itself.

Cheers,
Michael

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-libvirt-maintainers mailing list