[libvirt PATCH 10/20] openvz: refactor openvzDomainGetBarrierLimit