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

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
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]