]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: avoid unnecessary progress updates
authorMichael Chapman <mike@very.puzzling.org>
Wed, 27 Jan 2016 02:24:51 +0000 (13:24 +1100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 1 Feb 2016 17:04:48 +0000 (18:04 +0100)
commit704dfd6b0fafe7eafca93a03793389239f8ab869
treec755c1188a7e3adc87e24ec78dfc08b1be112e48
parent92549b3b8a7098e3f57179151ecd4db12c8f383c
virsh: avoid unnecessary progress updates

There is no need to call virshPrintJobProgress() unless the block job's
cur or end cursors have changed since the last iteration.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
tools/virsh-domain.c