Re: [libvirt] [PATCH 02/21] util: Introduce virPrettySize

2017-11-14 Thread Martin Kletzander
On Mon, Nov 13, 2017 at 01:36:58PM -0500, John Ferlan wrote: On 11/13/2017 03:50 AM, Martin Kletzander wrote: We can't output better memory sizes if we want to be compatible with libvirt older than the one which introduced /memory/unit, but for new things we can just output nicer capacity to t

Re: [libvirt] [PATCH 02/21] util: Introduce virPrettySize

2017-11-13 Thread John Ferlan
On 11/13/2017 03:50 AM, Martin Kletzander wrote: > We can't output better memory sizes if we want to be compatible with libvirt > older than the one which introduced /memory/unit, but for new things we can > just > output nicer capacity to the user if available. And this function enables > tha

[libvirt] [PATCH 02/21] util: Introduce virPrettySize

2017-11-13 Thread Martin Kletzander
We can't output better memory sizes if we want to be compatible with libvirt older than the one which introduced /memory/unit, but for new things we can just output nicer capacity to the user if available. And this function enables that. Signed-off-by: Martin Kletzander --- src/libvirt_private.