#ifndef __XEN_BUF__ #define pr_log(fmt, ...) { \ pr_info("[XEN_BUF]%s(): %d: "fmt, __func__, __LINE__, ##__VA_ARGS__); \ } static char *xenbus_state_array[] = { "XenbusStateUnknown", "XenbusStateInitialising", "XenbusStateInitWait", /* Finished early initialisation, but waiting for information from the peer or hotplug scripts. */ "XenbusStateInitialised", /* Initialised and waiting for a connection from the peer. */ "XenbusStateConnected", "XenbusStateClosing", /* The device is being closed due to an error or an unplug event. */ "XenbusStateClosed", /* * Reconfiguring: The device is being reconfigured. */ "XenbusStateReconfiguring", "XenbusStateReconfigured", }; #endif /* __XEN_BUF__ */