Revision 001faf32 block-raw-posix.c
b/block-raw-posix.c | ||
---|---|---|
73 | 73 |
|
74 | 74 |
//#define DEBUG_BLOCK |
75 | 75 |
#if defined(DEBUG_BLOCK) |
76 |
#define DEBUG_BLOCK_PRINT(formatCstr, args...) do { if (qemu_log_enabled()) \
|
|
77 |
{ qemu_log(formatCstr, ##args); qemu_log_flush(); } } while (0)
|
|
76 |
#define DEBUG_BLOCK_PRINT(formatCstr, ...) do { if (qemu_log_enabled()) \
|
|
77 |
{ qemu_log(formatCstr, ## __VA_ARGS__); qemu_log_flush(); } } while (0)
|
|
78 | 78 |
#else |
79 |
#define DEBUG_BLOCK_PRINT(formatCstr, args...)
|
|
79 |
#define DEBUG_BLOCK_PRINT(formatCstr, ...) |
|
80 | 80 |
#endif |
81 | 81 |
|
82 | 82 |
/* OS X does not have O_DSYNC */ |
Also available in: Unified diff