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