]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
libvirt-guests: Add parallel startup and shutdown of guests
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Feb 2012 15:09:42 +0000 (16:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Mar 2012 12:18:24 +0000 (13:18 +0100)
commit6c3642e9bc7c46c8a0a74cf7c5e97c7cd46d9a24
treea72d5009b9f882c81c1f7789c98dfe9d89cb834a
parent720bee300896a0e66d47e391be7cd86719697075
libvirt-guests: Add parallel startup and shutdown of guests

With this patch, it's possible to shut down guests in parallel. Parallel
startup was possible before, but this functionality was not documented
properly.

To enable parallel startup set the START_DELAY to 0.

Parallel shutdown has a configurable parameter PARALLEL_SHUTDOWN that
defines the number of machines being shut down in parallel. Enabling
this feature changes the semantics of SHUTDOWN_TIMEOUT parameter that is
applied as a cumulative timeout to shutdown all guests on a URI.
tools/libvirt-guests.init.sh
tools/libvirt-guests.sysconf