From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Roque Arcudia Hernandez <roqueh@google.com>,
jansene@google.com, sw@weilnetz.de, peterx@redhat.com,
farosas@suse.de, lvivier@redhat.com, pbonzini@redhat.com
Cc: qemu-devel@nongnu.org, Thomas Huth <thuth@redhat.com>,
Pierrick Bouvier <pierrick.bouvier@linaro.org>
Subject: Re: [PATCH] sysemu/os-win32.h: Windows clang-cl compiler fixes
Date: Mon, 4 Nov 2024 11:08:04 +0100 [thread overview]
Message-ID: <b3f51e5b-baf9-46fc-bf35-5b6a52835189@linaro.org> (raw)
In-Reply-To: <20241101214101.3376595-1-roqueh@google.com>
Hi Roque,
On 1/11/24 18:41, Roque Arcudia Hernandez wrote:
> This contains a series of small compiler fixes to enable the compilation
> of qemu using clang-cl.
>
> It mainly involves adding some missing header files and updating #ifdefs
> to handle clang-cl specific things.
>
> Signed-off-by: Erwin Jansen <jansene@google.com>
> Signed-off-by: Roque Arcudia Hernandez <roqueh@google.com>
> ---
> include/qemu/compiler.h | 3 ++-
> include/sysemu/dma.h | 2 ++
> include/sysemu/os-win32.h | 2 +-
> migration/savevm.c | 2 ++
> tests/qtest/libqtest.c | 2 +-
> 5 files changed, 8 insertions(+), 3 deletions(-)
> diff --git a/include/sysemu/dma.h b/include/sysemu/dma.h
> index 5a49a30628..f53b751fe2 100644
> --- a/include/sysemu/dma.h
> +++ b/include/sysemu/dma.h
> @@ -14,6 +14,8 @@
> #include "exec/address-spaces.h"
> #include "block/block.h"
> #include "block/accounting.h"
> +#include "block/aio.h"
> +#include "qemu/iov.h"
This change, ...
>
> typedef enum {
> DMA_DIRECTION_TO_DEVICE = 0,
> diff --git a/migration/savevm.c b/migration/savevm.c
> index 7e1e27182a..c082015e84 100644
> --- a/migration/savevm.c
> +++ b/migration/savevm.c
> @@ -54,6 +54,8 @@
> #include "qemu/job.h"
> #include "qemu/main-loop.h"
> #include "block/snapshot.h"
> +#include "block/block-io.h"
> +#include "block/block-global-state.h"
... and this one look sane. But please commit them separately
(preferably justifying what declarations are missing), not hidden
behind "sysemu/os-win32.h" subject.
> #include "qemu/cutils.h"
> #include "io/channel-buffer.h"
> #include "io/channel-file.h"
Could you post a series (including this patch) ending with a
patch exercising clang-cl in a job on our CI?
Thanks,
Phil.
prev parent reply other threads:[~2024-11-04 10:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-01 21:41 [PATCH] sysemu/os-win32.h: Windows clang-cl compiler fixes Roque Arcudia Hernandez
2024-11-04 9:18 ` Daniel P. Berrangé
2024-11-04 10:08 ` Philippe Mathieu-Daudé [this message]
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=b3f51e5b-baf9-46fc-bf35-5b6a52835189@linaro.org \
--to=philmd@linaro.org \
--cc=farosas@suse.de \
--cc=jansene@google.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=roqueh@google.com \
--cc=sw@weilnetz.de \
--cc=thuth@redhat.com \
/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).