[libvirt] [PATCH 13/14] virsh-completer: introduce virshPagesizeNodeToString
Peter Krempa
pkrempa at redhat.com
Wed Apr 3 08:07:20 UTC 2019
On Mon, Apr 01, 2019 at 09:33:30 +0200, Ján Tomko wrote:
> A helper function that takes a XML node with a "size"
> and "unit" attributes and converts it into a human-readable string.
>
> Reduce the size and number of variables in the parent function.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> tools/virsh-completer.c | 38 +++++++++++++++++++++++---------------
> 1 file changed, 23 insertions(+), 15 deletions(-)
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190403/bd7470e0/attachment-0001.sig>
More information about the libvir-list
mailing list