[libvirt PATCH v4 3/5] qemu: refactor 'qemuAgentGetInterfaces'