On Sat, Jul 12, 2008 at 10:25:01PM +0200, Matthias Pfafferodt wrote: > Hello, > > there is the possibility to autostart a (qemu/kvm) domain. If libvirtd is > stopped this domain is killed and the filesystem is in a unclean state. I > miss the possible of an 'autostop' option that will shutdown a (qemu/kvm) > domain if libvirtd is stopped. > > I changed the init script of my system (opensuse 11.0) to implement > the 'autostop' option. Is there a simpler solution? Do you have tips how to > improve the script? This functionality doesn't belong in the initscripts. It needs to be done as part of the individual hypervisor drivers, so for example, it can be delegated to XenD daemon, and behaviour controlled on a per VM basis via the API. Many OS don't even use the initscript managing the libvirtd daemon via a service management framework, like Upstart. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list