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