[libvirt] [PATCH 2/3] Routine to truncate virBuffer