[libvirt] [PATCH 0/2] improve the error in 2 function