From 5038c32e930e6ea07290275ba6e8d33b466e77fc Mon Sep 17 00:00:00 2001 From: "varinder.p" Date: Tue, 24 May 2022 07:58:02 +0530 Subject: [PATCH] Enable WHPX for windows qemu Change-Id: I6f276a1901297e3cb47e04f61c78bb1709ab36e3 Signed-off-by: varinder.p --- configure | 16 ++++++++-------- tizen/emulator_configure.sh | 6 +++++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 67fb7cd407..bedd3bb79d 100755 --- a/configure +++ b/configure @@ -2939,14 +2939,14 @@ fi ########################################## # Windows Hypervisor Platform accelerator (WHPX) check if test "$whpx" != "no" ; then - if check_include "WinHvPlatform.h" && check_include "WinHvEmulation.h"; then - whpx="yes" - else - if test "$whpx" = "yes"; then - feature_not_found "WinHvPlatform" "WinHvEmulation is not installed" - fi - whpx="no" - fi + #if check_include "WinHvPlatform.h" && check_include "WinHvEmulation.h"; then + whpx="yes" + #else + # if test "$whpx" = "yes"; then + # feature_not_found "WinHvPlatform" "WinHvEmulation is not installed" + # fi + # whpx="no" + #fi fi ########################################## diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 81c03758ab..a7e3e0afe5 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -159,7 +159,11 @@ CONFIGURE_APPEND=" CONFIGURE_APPEND_WIN=" --audio-drv-list=dsound - --enable-hax" + --enable-hax + --enable-whpx + --extra-cflags=-Wno-error=undef + --extra-cflags=-Wno-error=unknown-pragmas + --extra-cflags=-Wno-error=redundant-decls" # append platform specific options case $targetos in -- 2.34.1