]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
doc: Document quirk of getting block job info for a 'backup' blockjob
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Nov 2019 21:21:22 +0000 (22:21 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Dec 2019 11:41:58 +0000 (12:41 +0100)
The stats reported for a blockjob which is member of a domain pull
backup refer to the utilization of the scratch file rather than the
progress of the backup as the progress of the backup depends on the
client. Note this quirk in the docs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt-domain.c
tools/virsh.pod

index f873246ace81493de603216d572f6d82bfd55903..793eceb39f69b0dbd00cd936b8b36f4a3f9467e2 100644 (file)
@@ -9949,6 +9949,10 @@ virDomainBlockJobAbort(virDomainPtr dom, const char *disk,
  * and was no-op. In this case libvirt reports cur = 1 and end = 1.
  * Since 2.3.0.
  *
+ * Note that the progress reported for blockjobs corresponding to a pull-mode
+ * backup don't report progress of the backup but rather usage of temporary
+ * space required for the backup.
+ *
  * Returns -1 in case of failure, 0 when nothing found, 1 when info was found.
  */
 int
index cf7bc7986d186c10e9c1c081aacc027ef06558dc..ca4af31a97c0bfcc8af509d255a714a2f431f255 100644 (file)
@@ -994,6 +994,10 @@ I<--bytes> with a scaled value permits a finer granularity to be selected.
 A scaled value used without I<--bytes> will be rounded down to MiB/s. Note
 that the I<--bytes> may be unsupported by the hypervisor.
 
+Note that the progress reported for blockjobs corresponding to a pull-mode
+backup don't report progress of the backup but rather usage of temporary
+space required for the backup.
+
 =item B<blockpull> I<domain> I<path> [I<bandwidth>] [I<--bytes>] [I<base>]
 [I<--wait> [I<--verbose>] [I<--timeout> B<seconds>] [I<--async>]]
 [I<--keep-relative>]