mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
configure: Do not intent to build WHPX on 32-bit host
Hyper-V is available on 64-bit versions of Windows, do not try to build its support on 32-bit versions. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200910054516.405777-1-f4bug@amsat.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
5c8e1e8328
commit
738c7236d1
5
configure
vendored
5
configure
vendored
@ -2986,7 +2986,10 @@ fi
|
|||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Windows Hypervisor Platform accelerator (WHPX) check
|
# Windows Hypervisor Platform accelerator (WHPX) check
|
||||||
if test "$whpx" != "no" ; then
|
if test "$whpx" = "yes" && test "$ARCH" != "x86_64"; then
|
||||||
|
error_exit "WHPX requires 64-bit host"
|
||||||
|
fi
|
||||||
|
if test "$whpx" != "no" && test "$ARCH" = "x86_64"; then
|
||||||
if check_include "WinHvPlatform.h" && check_include "WinHvEmulation.h"; then
|
if check_include "WinHvPlatform.h" && check_include "WinHvEmulation.h"; then
|
||||||
whpx="yes"
|
whpx="yes"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user