[libvirt] [PATCH] virDomainRename: Extended API documentation

Martin Kletzander mkletzan at redhat.com
Mon Aug 24 12:57:25 UTC 2015


On Tue, Aug 18, 2015 at 10:22:07PM +0200, Tomas Meszaros wrote:
>Signed-off-by: Tomas Meszaros <exo at tty.sk>
>---
> src/libvirt-domain.c | 5 +++++
> 1 file changed, 5 insertions(+)
>

s/Extended/Extend/ in $SUBJ is what I think you meant.

>diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
>index 5c8bf2b..60e0def 100644
>--- a/src/libvirt-domain.c
>+++ b/src/libvirt-domain.c
>@@ -8783,6 +8783,11 @@ virDomainIsPersistent(virDomainPtr dom)
>  * argument. Depending on each driver implementation it may be
>  * required that domain is in a specific state.
>  *
>+ * There might be some attributes and/or elements in domain XML that if no
>+ * value provided at XML defining time, libvirt will derive their value from
>+ * domain name. These are not updated by this API. Users are strongly advised

s/domain/the domain/

ACK with that changed, I'll push it in a while.

>+ * to change these after the rename was successful.
>+ *
>  * Returns 0 if successfully renamed, -1 on error
>  */
> int
>--
>2.1.0
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150824/cb394cff/attachment-0001.sig>


More information about the libvir-list mailing list