[libvirt] [PATCHv3 02/11] qemu: Move interface cmd line construction into a separate function