Re: [libvirt] [PATCH v4 6/7] blockjob: automatically use bytes for bandwidth in virsh

2014-09-12 Thread Peter Krempa
On 09/12/14 05:55, Eric Blake wrote: Trickier than I had hoped; but now that we can parse numbers with arbitrary scale, it's time to use those numbers to call into the new API if the old API would have rounded the input, while still gracefully falling back to the old API if the new one fails.

[libvirt] [PATCH v4 6/7] blockjob: automatically use bytes for bandwidth in virsh

2014-09-11 Thread Eric Blake
Trickier than I had hoped; but now that we can parse numbers with arbitrary scale, it's time to use those numbers to call into the new API if the old API would have rounded the input, while still gracefully falling back to the old API if the new one fails. * tools/virsh-domain.c