|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Issue Xen sysctl operations that are available only to Dom0. More...
Files | |
| file | sysctl.h |
| Xen Dom0 system control operations. | |
Functions | |
| int | xen_sysctl_physinfo (struct xen_sysctl_physinfo *info) |
| Query physical host information from Xen. | |
| int | xen_sysctl_getdomaininfo (struct xen_domctl_getdomaininfo *domaininfo, uint16_t first, uint16_t num) |
| Retrieves information about Xen domains. | |
Issue Xen sysctl operations that are available only to Dom0.
| int xen_sysctl_getdomaininfo | ( | struct xen_domctl_getdomaininfo * | domaininfo, |
| uint16_t | first, | ||
| uint16_t | num ) |
#include <zephyr/xen/dom0/sysctl.h>
Retrieves information about Xen domains.
| [out] | domaininfo | A pointer to the xen_domctl_getdomaininfo structure to store the retrieved domain information. |
| first | The first domain ID to retrieve information for. | |
| num | The maximum number of domains to retrieve information for. |
CONFIG_XEN_DOM0.domaininfo on success, negative errno value on failure. | -EINVAL | domaininfo is NULL or num is zero. |
| int xen_sysctl_physinfo | ( | struct xen_sysctl_physinfo * | info | ) |
#include <zephyr/xen/dom0/sysctl.h>
Query physical host information from Xen.
CONFIG_XEN_DOM0.| [out] | info | Buffer that receives the Xen physical host information. |
| -EINVAL | info is NULL. |