Re: [libvirt] [PATCHv2] simplify block of codes