[libvirt] [PATCH] virDomainBlockStats(Flags): Produce saner error message on empty disk path

2014-02-28 Thread Michal Privoznik
As of 0bd2ccdec an empty disk path for virDomainBlockStats (or the one with Flags) is allowed meaning get me overall summarized statistics. However, running 'virsh domblkstat $dom' throws a misleading error: # ./tools/virsh domblkstat dom error: Failed to get block stats dom error: invalid

Re: [libvirt] [PATCH] virDomainBlockStats(Flags): Produce saner error message on empty disk path

2014-02-28 Thread Martin Kletzander
On Fri, Feb 28, 2014 at 10:18:09AM +0100, Michal Privoznik wrote: As of 0bd2ccdec an empty disk path for virDomainBlockStats (or the one with Flags) is allowed meaning get me overall summarized statistics. However, running 'virsh domblkstat $dom' throws a misleading error: # ./tools/virsh