Re: [Qemu-devel] [PATCH 03/16] qemu-io: Make cvtnum() a wrapper around strtosz_suffix()

2013-05-28 Thread Eric Blake
On 05/28/2013 09:27 AM, Kevin Wolf wrote: > No reason to implement the same thing multiple times. A nice side effect > is that fractional numbers like 0.5M can be used in qemu-io now. > > Signed-off-by: Kevin Wolf > --- > cmd.c | 37 - > cmd.h | 1 - >

[Qemu-devel] [PATCH 03/16] qemu-io: Make cvtnum() a wrapper around strtosz_suffix()

2013-05-28 Thread Kevin Wolf
No reason to implement the same thing multiple times. A nice side effect is that fractional numbers like 0.5M can be used in qemu-io now. Signed-off-by: Kevin Wolf --- cmd.c | 37 - cmd.h | 1 - qemu-io.c | 6 ++ 3 files changed, 6 insertions(+),