[libvirt] [PATCHv4 2/4] qemu: Move interface cmd line construction into a separate function