Hi Joe,

Joe Muro <joemuro@us.ibm.com> 於 2020年4月9日 週四 上午10:57寫道:

Hi,

I am using python apis. I can't seem to find equivalent python function for virDomainGetGuestInfo()

https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetGuestInfo

It does not seem to be mentioned in libvirt-python docs at this time, indeed.

I have qemu-guest-agent running on the guest, and want to1 extract os information.

However, it has been implemented in upstream libvirt-python in a rather old commit[1]. You can build from source to keep your local language binding up-to-date if the function is not implemented in the version provided by your current distribution.

[1]: https://github.com/libvirt/libvirt-python/commit/17937cc337b3697a3d46a9052b5836cd3d6b8a0f

--

Regards,

Yukin Chan

She / Her / Hers

PGP: AC7BCF02F44FA43F940A3B9A25D5E545D2C3D639