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

Re: [libvirt] [PATCH 3/3] Allow automatic kill of guests when a connection is closed



On Thu, Jun 23, 2011 at 07:43:16AM -0600, Eric Blake wrote:
> On 06/23/2011 07:35 AM, Daniel P. Berrange wrote:
> >> @@ -234,6 +234,7 @@ typedef virDomainInfo *virDomainInfoPtr;
> >>  typedef enum {
> >>      VIR_DOMAIN_NONE         = 0,      /* Default behavior */
> >>      VIR_DOMAIN_START_PAUSED = 1 << 0, /* Launch guest in paused state */
> >> +    VIR_DOMAIN_START_AUTOKILL = 1 << 1, /* Automatically kill guest when virConnectPtr is closed */
> >>  } virDomainCreateFlags;
> > 
> > I'm thinking perhaps I should rename that to  AUTODESTROY
> > instead, since that matches the terminology we use here.
> > 'kill' is specific to UNIX processes, and if we want to
> > extend the autodestroy concept to storage pools or virtual
> > networks, AUTODESTROY makes more sense.
> 
> Indeed, that does sound better.

  Agreed :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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