Re: [PATCH v5 1/3] contrib: add ivshmem client and server

Claudio Fontana
2014-09-05T08:53:43Z

Just to point out that for the client there is also a DEBUG_LOG to uppercase, just like already pointed out for the server.

>> diff --git a/contrib/ivshmem-client/ivshmem-client.c b/contrib/ivshmem-client/ivshmem-client.c
>> new file mode 100644
>> index 0000000..ad210c8
>> --- /dev/null
>> +++ b/contrib/ivshmem-client/ivshmem-client.c
>> @@ -0,0 +1,405 @@
>> +/*
>> + * Copyright 6WIND S.A., 2014
>> + *
>> + * This work is licensed under the terms of the GNU GPL, version 2 or
>> + * (at your option) any later version. See the COPYING file in the
>> + * top-level directory.
>> + */
>> +
>> +#include <sys/types.h>
>> +#include <sys/socket.h>
>> +#include <sys/un.h>
>> +
>> +#include "qemu-common.h"
>> +#include "qemu/queue.h"
>> +
>> +#include "ivshmem-client.h"
>> +
>> +/* log a message on stdout if verbose=1 */
>> +#define debug_log(client, fmt, ...) do { \
>> + if ((client)->verbose) { \
>> + printf(fmt, ## __VA_ARGS__); \
>> + } \
>> + } while (0)
>> +

..here (DEBUG_LOG?)

Thanks to all who are working on this.

Claudio