|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Query the Xen hypervisor version exposed to the current domain. More...
Files | |
| file | version.h |
| Xen version queries. | |
Functions | |
| int | xen_version (void) |
| Get the Xen version encoded as major and minor numbers. | |
| int | xen_version_extraversion (char *extra, int len) |
| Get the Xen extra version string. | |
Query the Xen hypervisor version exposed to the current domain.
| int xen_version | ( | void | ) |
#include <zephyr/xen/version.h>
Get the Xen version encoded as major and minor numbers.
The returned integer uses the Xen major:minor encoding defined by XENVER_version.
| int xen_version_extraversion | ( | char * | extra, |
| int | len ) |
#include <zephyr/xen/version.h>
Get the Xen extra version string.
The destination buffer is cleared before the hypercall runs.
| [out] | extra | Destination buffer for the extra version string. |
| len | Size of extra in bytes. It must be at least XEN_EXTRAVERSION_LEN. |
| -EINVAL | extra is NULL or len is too small. |