]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
libxl: fix libxlDoDomainSave documentation
authorJim Fehlig <jfehlig@suse.com>
Fri, 7 Feb 2014 01:02:06 +0000 (18:02 -0700)
committerJim Fehlig <jfehlig@suse.com>
Tue, 11 Feb 2014 18:03:53 +0000 (11:03 -0700)
Update the function's comment, which was missed when removing use of
the driver lock everywhere.

src/libxl/libxl_driver.c

index 99643e3640c1b4014a3f49d0b9f5cae4a823fe45..8e4242aad4c8b1398551655cf89327671423cf53 100644 (file)
@@ -1812,8 +1812,9 @@ libxlDomainGetState(virDomainPtr dom,
     return ret;
 }
 
-/* This internal function expects the driver lock to already be held on
- * entry and the vm must be active. */
+/*
+ * virDomainObjPtr must be locked on invocation
+ */
 static int
 libxlDoDomainSave(libxlDriverPrivatePtr driver, virDomainObjPtr vm,
                   const char *to)