Hi,

just an idea: wouldn't it make sense to add a global configure switch allowing 
to shut down the vms instead of suspending them?

E.g. in /etc/sysconfig/libvirtd:

ON_SHUTDOWN=suspend (this is the default)
or
ON_SHUTDOWN=shutdown

This could be made available through the init script too:
/etc/init.d/libvirt-guests shutdown

Usecase: I want to be able to make sure the diskspace is unmounted and the 
filesystems of my vms are clean state. This is needed e.g. before copying the 
raw blockdevices.

Another thing is timing: a shutdown is sometimes a very time-constrained thing 
(think of an ups running out of power). Depending on the programs in the vms, 
memory size and disk speed, suspending can take longer than a clean shutdown.

Kind regards,

Gerd


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to