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

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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