]> xenbits.xensource.com Git - libvirt.git/commitdiff
lib: Clarify that any block job may block VM save or device detach
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jan 2019 11:36:17 +0000 (12:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 29 Jan 2019 16:11:02 +0000 (17:11 +0100)
The documentation was only referring to a copy job, but in fact any
running blockjob will have the same results.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt-domain.c

index 163f87916320fc2db4a314959a8ec8aea7394abb..ac2f42d6389868cad2199cdb6b6c53ad21979ca7 100644 (file)
@@ -883,8 +883,8 @@ virDomainSave(virDomainPtr domain, const char *to)
  * virDomainSaveImageGetXMLDesc() and virDomainSaveImageDefineXML().
  *
  * Some hypervisors may prevent this operation if there is a current
- * block copy operation; in that case, use virDomainBlockJobAbort()
- * to stop the block copy first.
+ * block job running; in that case, use virDomainBlockJobAbort()
+ * to stop the block job first.
  *
  * Returns 0 in case of success and -1 in case of failure.
  */
@@ -8293,8 +8293,8 @@ virDomainDetachDevice(virDomainPtr domain, const char *xml)
  * persisted device allocation.
  *
  * Some hypervisors may prevent this operation if there is a current
- * block copy operation on the device being detached; in that case,
- * use virDomainBlockJobAbort() to stop the block copy first.
+ * block job running operation on the device being detached; in that case,
+ * use virDomainBlockJobAbort() to stop the block job first.
  *
  * Beware that depending on the hypervisor and device type, detaching a device
  * from a running domain may be asynchronous. That is, calling