[libvirt] [PATCH 1/3] api: add VIR_DOMAIN_UNDEFINE_KEEP_NVRAM flag

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Fri May 27 08:05:14 UTC 2016


This flags specifies to keep nvram file if it is existed for inactive
domains.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
---
 include/libvirt/libvirt-domain.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 27ed29a..18cb793 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -1572,6 +1572,7 @@ typedef enum {
                                                           snapshot metadata */
     VIR_DOMAIN_UNDEFINE_NVRAM              = (1 << 2), /* Also remove any
                                                           nvram file */
+    VIR_DOMAIN_UNDEFINE_KEEP_NVRAM         = (1 << 3), /* Keep nvram file */
 
     /* Future undefine control flags should come here. */
 } virDomainUndefineFlagsValues;
-- 
1.8.3.1




More information about the libvir-list mailing list