Enable WHPX for windows qemu 80/275380/1
authorvarinder.p <varinder.p@samsung.com>
Tue, 24 May 2022 02:28:02 +0000 (07:58 +0530)
committerVarinder Pratap Singh <varinder.p@samsung.com>
Tue, 24 May 2022 02:33:09 +0000 (08:03 +0530)
Change-Id: I6f276a1901297e3cb47e04f61c78bb1709ab36e3
Signed-off-by: varinder.p <varinder.p@samsung.com>
configure
tizen/emulator_configure.sh

index 67fb7cd407e9b3fe8b6a6d2476cd8777ba0e3316..bedd3bb79d1ecf986128c34c083168d88a8966cf 100755 (executable)
--- 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
 
 ##########################################
index 81c03758abbd0f0612e08f18bc9cfb6428f612bc..a7e3e0afe508d0896d599d5b6e3aedf2ac5f34a9 100755 (executable)
@@ -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