Xen Test Framework
Functions
xenstore.h File Reference

Xenstore driver. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xenstore_init (void)
 Initialise XTF ready for xenstore communication. More...
 
const char * xenstore_read (const char *key)
 Issue a XS_READ operation for key, waiting synchronously for the reply. More...
 

Detailed Description

Xenstore driver.

Definition in file xenstore.h.

Function Documentation

◆ xenstore_init()

int xenstore_init ( void  )

Initialise XTF ready for xenstore communication.

May fail if there is no xenbus ring found.

Definition at line 109 of file xenbus.c.

+ Here is the caller graph for this function:

◆ xenstore_read()

const char * xenstore_read ( const char *  key)

Issue a XS_READ operation for key, waiting synchronously for the reply.

Returns NULL on error. The current implementation unmarshals data into a static buffer, so the return pointer is only valid until a subsequent xenstore operation.

Definition at line 115 of file xenbus.c.

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