From 35a97e4532a2c465a9b4a7a84b39f109f08d79df Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 24 Jul 2019 14:50:03 +0200 Subject: [PATCH] qemu: blockjob: Document qemuBlockJobRegister Signed-off-by: Peter Krempa ACKed-by: Eric Blake --- 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, -- GitLab