On Tue, Nov 06, 2012 at 14:57:30 +0100, Daniel P. Berrange wrote:
On Mon, Nov 05, 2012 at 04:02:28PM +0100, Peter Krempa wrote:
> When the daemon is starting it autostarts all guests marked as
> autostartable. This is not an ideal solution for autostarting if there's
> a lot of domains configured so. After autostarting all right away the
> guests start competing for disk I/O and the boot is prolonged
> unnecessarily.
>
> This patch adds a config option to disable autostarting to leave it on
> user scripts that may use mechanisms to reduce load of the host by
> limiting the number of guests started in parallel.
I sort wonder whether it is better to expose this as a command line
argument rather than a config option. It would make life much easier
for people who want to have autostart running most of the time, but
occassionally want to start libvirtd without it.
I also think command line argument is better than a config option. And if
someone wants to permanently disable autostarting, we have service
configuration files for this (such as /etc/sysconfig/libvirtd,
/etc/conf.d/libvirtd, ...).
Jirka