Re: [PATCH] Init script for suspending/resuming guests on shutdown/boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]