[libvirt] [PATCH 3/9] qemu: blockjob: Document qemuBlockJobRegister

Peter Krempa posted 9 patches 6 years, 6 months ago
[libvirt] [PATCH 3/9] qemu: blockjob: Document qemuBlockJobRegister
Posted by Peter Krempa 6 years, 6 months ago
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 src/qemu/qemu_blockjob.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c
index e63dc49e92..ac7b3a0aef 100644
--- a/src/qemu/qemu_blockjob.c
+++ b/src/qemu/qemu_blockjob.c
@@ -117,6 +117,16 @@ qemuBlockJobDataNew(qemuBlockJobType type,
 }


+/**
+ * qemuBlockJobRegister:
+ * @job: job to register
+ * @vm: domain to register @job with
+ * @disk: disk to register @job with
+ * @savestatus: save the status XML after registering
+ *
+ * This function registers @job with @disk and @vm and records it into the status
+ * xml (if @savestatus is true).
+ */
 int
 qemuBlockJobRegister(qemuBlockJobDataPtr job,
                      virDomainObjPtr vm,
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 3/9] qemu: blockjob: Document qemuBlockJobRegister
Posted by Eric Blake 6 years, 6 months ago
On 7/24/19 4:07 PM, Peter Krempa wrote:
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>  src/qemu/qemu_blockjob.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

ACK

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list