[libvirt] [PATCH V4 2/6] libxlDomainDetachNetDevice: cleanup codes