qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] whpx: fix compilation
@ 2020-12-18  8:46 marcandre.lureau
  2020-12-18  9:50 ` Paolo Bonzini
  2020-12-18 11:25 ` Claudio Fontana
  0 siblings, 2 replies; 7+ messages in thread
From: marcandre.lureau @ 2020-12-18  8:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, sunilmut, Marc-André Lureau

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;
-- 
2.29.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-18 13:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).