Re: [libvirt] [PATCH v2] virsh: Fix job status indicator for 0 length block jobs

2015-09-23 Thread Peter Krempa
On Tue, Sep 22, 2015 at 11:12:28 +0200, Erik Skultety wrote: > > > On 21/09/15 19:46, Peter Krempa wrote: > > Although 0 length block jobs aren't entirely useful, the output of virsh > > blockjob is empty due to the condition that suppresses the output for > > migration jobs that did not start. S

Re: [libvirt] [PATCH v2] virsh: Fix job status indicator for 0 length block jobs

2015-09-22 Thread Erik Skultety
On 21/09/15 19:46, Peter Krempa wrote: > Although 0 length block jobs aren't entirely useful, the output of virsh > blockjob is empty due to the condition that suppresses the output for > migration jobs that did not start. Since the only place that actually > uses the condition that suppresses th

[libvirt] [PATCH v2] virsh: Fix job status indicator for 0 length block jobs

2015-09-21 Thread Peter Krempa
Although 0 length block jobs aren't entirely useful, the output of virsh blockjob is empty due to the condition that suppresses the output for migration jobs that did not start. Since the only place that actually uses the condition that suppresses the output is in migration, let's move the check th