[libvirt] [PATCH 4/7] qemu_agent: add helper function for querying OS info