[libvirt PATCH 12/20] openvz: refactor openvzGetVEStatus