Xen Test Framework
Functions
lib.c File Reference
#include <xtf/framework.h>
#include <xtf/lib.h>
#include <xtf/traps.h>
#include <xtf/hypercall.h>
#include <xtf/xenstore.h>
+ Include dependency graph for lib.c:

Go to the source code of this file.

Functions

static int isdigit (int c)
 
void panic (const char *fmt,...)
 
int xtf_probe_sysctl_interface_version (void)
 Probe for the SYSCTL_INTERFACE_VERSION in use by the hypervisor. More...
 
int xtf_get_domid (void)
 Obtain the current domid. More...
 

Function Documentation

◆ isdigit()

static int isdigit ( int  c)
static

Definition at line 9 of file lib.c.

+ Here is the caller graph for this function:

◆ panic()

void panic ( const char *  fmt,
  ... 
)

Definition at line 15 of file lib.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xtf_probe_sysctl_interface_version()

int xtf_probe_sysctl_interface_version ( void  )

Probe for the SYSCTL_INTERFACE_VERSION in use by the hypervisor.

Returns
version, or -1 on failure.

Definition at line 32 of file lib.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xtf_get_domid()

int xtf_get_domid ( void  )

Obtain the current domid.

Returns
domid, or -1 on failure.

Definition at line 47 of file lib.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: