inspect_get_osinfo
Description:
get a possible osinfo short ID corresponding to this operating system
This function returns a possible short ID for libosinfo corresponding to the guest.
*Note:* The returned ID is only a guess by libguestfs, and nothing ensures that it actually exists in osinfo-db.
If no ID could not be determined, then the string unknown
is returned.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned string, or NULL on error |