Re: [Qemu-devel] [PATCH v9 0/4] Introduce strtosz and make use of it

2010-10-22 Thread Markus Armbruster
Jes Sorensen writes: > On 10/22/10 09:59, Markus Armbruster wrote: >> jes.soren...@redhat.com writes: >>> From: Jes Sorensen >>> This patch introduces cutils.c: strtosz() and gets rid of the >>> multiple custom hacks for parsing byte sizes. In addition it adds >>> supports for specifying human s

Re: [Qemu-devel] [PATCH v9 0/4] Introduce strtosz and make use of it

2010-10-22 Thread Markus Armbruster
jes.soren...@redhat.com writes: > From: Jes Sorensen > > This patch introduces cutils.c: strtosz() and gets rid of the > multiple custom hacks for parsing byte sizes. In addition it adds > supports for specifying human style sizes such as 1.5G. Last it > eliminates the horrible abuse of a float t

Re: [Qemu-devel] [PATCH v9 0/4] Introduce strtosz and make use of it

2010-10-22 Thread Jes Sorensen
On 10/22/10 09:59, Markus Armbruster wrote: > jes.soren...@redhat.com writes: >> From: Jes Sorensen >> This patch introduces cutils.c: strtosz() and gets rid of the >> multiple custom hacks for parsing byte sizes. In addition it adds >> supports for specifying human style sizes such as 1.5G. Last

[Qemu-devel] [PATCH v9 0/4] Introduce strtosz and make use of it

2010-10-21 Thread Jes . Sorensen
From: Jes Sorensen This patch introduces cutils.c: strtosz() and gets rid of the multiple custom hacks for parsing byte sizes. In addition it adds supports for specifying human style sizes such as 1.5G. Last it eliminates the horrible abuse of a float to store the byte size for migrate_set_speed