[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/3] contrib: add ivshmem client and server
From: |
Claudio Fontana |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/3] contrib: add ivshmem client and server |
Date: |
Fri, 5 Sep 2014 10:52:53 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
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
Re: [Qemu-devel] [PATCH v5 0/3] ivshmem: update documentation, add client/server tools, Michael S. Tsirkin, 2014/09/04