qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Claudio Fontana <cfontana@suse.de>
To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, sunilmut@microsoft.com,
	Alex Bennee <alex.bennee@linaro.org>
Subject: Re: [PATCH] whpx: fix compilation
Date: Fri, 18 Dec 2020 12:25:28 +0100	[thread overview]
Message-ID: <60f08ffb-e761-d708-e90e-aed66c1dd584@suse.de> (raw)
In-Reply-To: <20201218084611.634254-1-marcandre.lureau@redhat.com>

On 12/18/20 9:46 AM, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> When compiling WHPX (on msys2)
> 
> FAILED: libqemu-x86_64-softmmu.fa.p/target_i386_whpx_whpx-all.c.obj
> ../target/i386/whpx/whpx-all.c:29:10: fatal error: whp-dispatch.h: No such file or directory
>    29 | #include "whp-dispatch.h"
>       |          ^~~~~~~~~~~~~~~~
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  include/sysemu/whpx.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/include/sysemu/whpx.h b/include/sysemu/whpx.h
> index 9346fd92e9..79ab3d73cf 100644
> --- a/include/sysemu/whpx.h
> +++ b/include/sysemu/whpx.h
> @@ -15,7 +15,9 @@
>  
>  #ifdef CONFIG_WHPX
>  
> -#include "whp-dispatch.h"
> +#include <windows.h>
> +#include <WinHvPlatform.h>
> +#include <WinHvEmulation.h>
>  
>  struct whpx_state {
>      uint64_t mem_quota;
> 

Hi Marc, interesting factoid: cirrus-ci shows "GREEN", screaming all-ok for msys2, while the error is present,
and visible only on manual inspection of "Run main".

https://cirrus-ci.com/task/6573590369796096

Maybe something that needs attention CI-wise? Not sure who knows the details there, and how to fix it..
Maybe it's my move of whpx code to a subdirectory of target/i386/ that caused the breakage?

Ciao,

Claudio


      parent reply	other threads:[~2020-12-18 11:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18  8:46 [PATCH] whpx: fix compilation marcandre.lureau
2020-12-18  9:50 ` Paolo Bonzini
2020-12-18 10:08   ` Marc-André Lureau
2020-12-18 10:28     ` Paolo Bonzini
2020-12-18 11:07       ` Marc-André Lureau
2020-12-18 13:07         ` Paolo Bonzini
2020-12-18 11:25 ` Claudio Fontana [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=60f08ffb-e761-d708-e90e-aed66c1dd584@suse.de \
    --to=cfontana@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sunilmut@microsoft.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).