[libvirt] [PATCH v2] vz: simplify getting strings from vzsdk
Maxim Nestratov
mnestratov at virtuozzo.com
Wed Apr 13 16:33:31 UTC 2016
13.04.2016 11:27, Nikolay Shirokovskiy пишет:
> SDK does not allocate memory when getting strings thus we
> need to call every function that returns string twice.
> First to obtain string length, second to obtain string
> itself. It is tedious so let's create helper functions
> for cases when we know length of the result beforehand
> and we are not.
ACKed and pushed,
Thanks,
Maxim
More information about the libvir-list
mailing list