qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: "Laurent Vivier" <lvivier@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PATCH v2 07/26] tests: make libqmp buildable for win32
Date: Tue, 26 Apr 2022 12:29:02 +0200	[thread overview]
Message-ID: <de67365b-c466-7534-e68d-c99313a0fd7e@redhat.com> (raw)
In-Reply-To: <CAMxuvazuqNRfL_Wi+QKpqgpBobq+2T_P1QuyZ-0+OtR6h-YOrg@mail.gmail.com>

On 26/04/2022 12.25, Marc-André Lureau wrote:
> Hi
> 
> On Tue, Apr 26, 2022 at 1:32 PM Thomas Huth <thuth@redhat.com> wrote:
>>
>> On 26/04/2022 11.26, marcandre.lureau@redhat.com wrote:
>>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>>
>>> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>>> ---
>>>    tests/qtest/libqmp.h |  2 ++
>>>    tests/qtest/libqmp.c | 37 +++++++++++++++++++++++++++++++------
>>>    2 files changed, 33 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/tests/qtest/libqmp.h b/tests/qtest/libqmp.h
>>> index 94aa97328a17..772f18b73ba3 100644
>>> --- a/tests/qtest/libqmp.h
>>> +++ b/tests/qtest/libqmp.h
>>> @@ -20,8 +20,10 @@
>>>    #include "qapi/qmp/qdict.h"
>>>
>>>    QDict *qmp_fd_receive(int fd);
>>> +#ifndef G_OS_WIN32
>>>    void qmp_fd_vsend_fds(int fd, int *fds, size_t fds_num,
>>>                          const char *fmt, va_list ap) G_GNUC_PRINTF(4, 0);
>>> +#endif
>>>    void qmp_fd_vsend(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0);
>>>    void qmp_fd_send(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
>>>    void qmp_fd_send_raw(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
>>> diff --git a/tests/qtest/libqmp.c b/tests/qtest/libqmp.c
>>> index 0358b8313dc4..5f451ebee796 100644
>>> --- a/tests/qtest/libqmp.c
>>> +++ b/tests/qtest/libqmp.c
>>> @@ -15,9 +15,15 @@
>>>     */
>>>
>>>    #include "qemu/osdep.h"
>>> -
>>>    #include "libqmp.h"
>>>
>>> +#include <unistd.h>
>>> +#include <stdlib.h>
>>
>> unistd.h and stdlib.h should have been added by osdep.h already, so please
>> remove these two lines.
> 
> Right  (it will be part of the follow-up series, moving it to a
> standalone project). Ack with that?

Sure, the two headers should then be added in the patch where you remove 
osdep.h.

  Thomas



  reply	other threads:[~2022-04-26 10:35 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26  9:26 [PATCH v2 00/26] Misc cleanups marcandre.lureau
2022-04-26  9:26 ` [PATCH v2 01/26] Use QEMU_SANITIZE_THREAD marcandre.lureau
2022-04-26 20:43   ` Richard Henderson
2022-04-27  7:59     ` Marc-André Lureau
2022-04-26  9:26 ` [PATCH v2 02/26] Use QEMU_SANITIZE_ADDRESS marcandre.lureau
2022-04-26 20:46   ` Richard Henderson
2022-04-27  9:36   ` Thomas Huth
2022-04-26  9:26 ` [PATCH v2 03/26] include: move qemu_*_exec_dir() to cutils marcandre.lureau
2022-04-26  9:26 ` [PATCH v2 04/26] util/win32: simplify qemu_get_local_state_dir() marcandre.lureau
2022-04-26  9:26 ` [PATCH v2 05/26] tests: move libqtest.h back under qtest/ marcandre.lureau
2022-04-26 10:30   ` Stefan Berger
2022-05-30 14:41   ` Juan Quintela
2022-04-26  9:26 ` [PATCH v2 06/26] libqtest: split QMP part in libqmp marcandre.lureau
2022-04-26  9:26 ` [PATCH v2 07/26] tests: make libqmp buildable for win32 marcandre.lureau
2022-04-26  9:32   ` Thomas Huth
2022-04-26 10:25     ` Marc-André Lureau
2022-04-26 10:29       ` Thomas Huth [this message]
2022-04-26  9:26 ` [PATCH v2 08/26] Use g_unix_set_fd_nonblocking() marcandre.lureau
2022-04-27  1:00   ` Richard Henderson
2022-04-26  9:26 ` [PATCH v2 09/26] block: move fcntl_setfl() marcandre.lureau
2022-04-27  1:00   ` Richard Henderson
2022-04-26  9:26 ` [PATCH v2 10/26] Replace qemu_pipe() with g_unix_open_pipe() marcandre.lureau
2022-04-27  1:06   ` Richard Henderson
2022-04-26  9:27 ` [PATCH v2 11/26] util: replace pipe()+cloexec " marcandre.lureau
2022-04-27  1:06   ` Richard Henderson
2022-04-26  9:27 ` [PATCH v2 12/26] qga: replace pipe() with g_unix_open_pipe(CLOEXEC) marcandre.lureau
2022-04-27  1:08   ` Richard Henderson
2022-04-27  8:24     ` Marc-André Lureau
2022-05-03 11:22       ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 13/26] tests: " marcandre.lureau
2022-05-03 10:11   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 14/26] os-posix: replace pipe()+cloexec " marcandre.lureau
2022-04-27  1:11   ` Richard Henderson
2022-04-26  9:27 ` [PATCH v2 15/26] virtiofsd: replace pipe() " marcandre.lureau
2022-05-03 10:16   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 16/26] io: " marcandre.lureau
2022-05-03 10:29   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 17/26] Replace fcntl(0_NONBLOCK) with g_unix_set_fd_nonblocking() marcandre.lureau
2022-04-27  1:15   ` Richard Henderson
2022-04-27  9:08     ` Marc-André Lureau
2022-04-26  9:27 ` [PATCH v2 18/26] io: make qio_channel_command_new_pid() static marcandre.lureau
2022-04-27  1:15   ` Richard Henderson
2022-04-26  9:27 ` [PATCH v2 19/26] chardev: replace qemu_set_nonblock() marcandre.lureau
2022-05-03 10:32   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 20/26] io: replace qemu_set{_non}block() marcandre.lureau
2022-05-03 10:33   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 21/26] qga: replace qemu_set_nonblock() marcandre.lureau
2022-05-03 10:35   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 22/26] hw: " marcandre.lureau
2022-05-03 10:38   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 23/26] ui: " marcandre.lureau
2022-05-03 10:41   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 24/26] net: " marcandre.lureau
2022-05-03 10:42   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 25/26] tests: " marcandre.lureau
2022-04-27  9:41   ` Thomas Huth
2022-04-27 10:33     ` Marc-André Lureau
2022-04-27 11:15       ` Thomas Huth
2022-05-03 10:44   ` Daniel P. Berrangé
2022-04-26  9:27 ` [PATCH v2 26/26] util: rename qemu_*block() socket functions marcandre.lureau
2022-04-26 10:28   ` Marc-André Lureau
2022-04-26 14:33   ` Stefan Hajnoczi
2022-04-27 10:39     ` Marc-André Lureau
2022-05-02  7:45 ` [PATCH v2 00/26] Misc cleanups Marc-André Lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de67365b-c466-7534-e68d-c99313a0fd7e@redhat.com \
    --to=thuth@redhat.com \
    --cc=berrange@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).