提交 b7bd97fb 编写于 作者: P Peter Krempa

lib: Clarify that any block job may block VM save or device detach

The documentation was only referring to a copy job, but in fact any
running blockjob will have the same results.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 5ea24bbb
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册