libvirt: document UNDEFINE_KEEP_NVRAM in UndefineFlags docs

This commit is contained in:
Cole Robinson 2017-03-06 17:54:40 -05:00
parent 0e5db76262
commit ee42957bb1

View File

@ -6287,9 +6287,9 @@ virDomainUndefine(virDomainPtr domain)
* whether this flag is present. On hypervisors where snapshots do * whether this flag is present. On hypervisors where snapshots do
* not use libvirt metadata, this flag has no effect. * not use libvirt metadata, this flag has no effect.
* *
* If the domain has any nvram specified, then including * If the domain has any nvram specified, the undefine process will fail
* VIR_DOMAIN_UNDEFINE_NVRAM will also remove that file, and omitting the flag * unless VIR_DOMAIN_UNDEFINE_KEEP_NVRAM is specified, or if
* will cause the undefine process to fail. * VIR_DOMAIN_UNDEFINE_NVRAM is specified to remove the nvram file.
* *
* Returns 0 in case of success, -1 in case of error * Returns 0 in case of success, -1 in case of error
*/ */