[libvirt] [PATCH] qemu_agent: Remove agent reference only when disposing it