[client] added initial ivshmem client implementation
This commit is contained in:
1 parent
314b8621ea
commit
48facb3746
4 files changed
+162
-2
No files matched your search
+3
-1
@@ -1,3 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_PRINT(type, fmt, args...) do {fprintf(stderr, type " %-30s : %-5u | " fmt "\n", __FUNCTION__, __LINE__, ##args);} while (0)
|
||||
#else
|
||||
@@ -9,7 +11,7 @@
|
||||
#define DEBUG_ERROR(fmt, args...) DEBUG_PRINT("[E]", fmt, ##args)
|
||||
#define DEBUG_FIXME(fmt, args...) DEBUG_PRINT("[F]", fmt, ##args)
|
||||
|
||||
#ifdef DEBUG_SPICE
|
||||
#if defined(DEBUG_SPICE) | defined(DEBUG_IVSHMEM)
|
||||
#define DEBUG_PROTO(fmt, args...) DEBUG_PRINT("[P]", fmt, ##args)
|
||||
#else
|
||||
#define DEBUG_PROTO(fmt, args...) do {} while(0)
|
||||
|
||||
Reference in new issue
Block a user