[libvirt] Re: [PATCH v2 4/4] Allow choice of shutdown method via virsh

Nicolas Sebrecht nsebrecht at piing.fr
Tue Jan 24 08:33:06 UTC 2012


The 23/01/12, Daniel P. Berrange wrote:
> On Mon, Jan 23, 2012 at 04:41:43PM +0100, Nicolas Sebrecht wrote:
> > The 23/01/12, Michal Privoznik wrote:
> > 
> > > +By default the hypervisor will try to pick a suitable shutdown
> > > +method. To specify an alternative method, the I<--mode> parameter
> > > +can specify C<acpi> or C<agent>.
> > > +
> > 
> > What's the "suitable shutdown method", BTW? If I don't give the --mode
> > option, it is not clear which method will be used.
> 
> That is intentional, because the choice of what is used as the default
> option is hypervisor depedendant and may change at will

Thank you for the information but I think my point still applies. I
mean, what are the options/conditions which can change this "hypervisor
dependent default option which may change at will"? A compilation
option? A qemu option? A libvirt option?

The current documentation is a bit cryptic for the user unless we
document _how_ is defined the "suitable shutdown method". Exposing what
is the current enabled method (if possible) could be interesting, too.

-- 
Nicolas Sebrecht




More information about the libvir-list mailing list