[libvirt] [PATCH] introduce virConfReadString

Michal Privoznik mprivozn at redhat.com
Mon Aug 7 15:52:01 UTC 2017


On 08/07/2017 05:42 PM, Ján Tomko wrote:
> Rewrite virConfReadMem to take a null-terminated string.
> All the callers were calling strlen on it anyway.
> ---
>  daemon/libvirtd-config.c |  2 +-
>  src/libvirt_private.syms |  2 +-
>  src/libxl/libxl_driver.c |  4 ++--
>  src/lxc/lxc_native.c     |  2 +-
>  src/util/virconf.c       | 16 ++++++++--------
>  src/util/virconf.h       |  4 ++--
>  src/vmx/vmx.c            |  4 ++--
>  src/xen/xen_driver.c     |  2 +-
>  tests/virconftest.c      |  8 ++++----
>  tests/xlconfigtest.c     |  2 +-
>  tests/xmconfigtest.c     |  2 +-
>  11 files changed, 24 insertions(+), 24 deletions(-)

Yup, ACK.

Michal




More information about the libvir-list mailing list