From: Philippe Mathieu-Daudé <f4...@amsat.org> 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é <f4...@amsat.org> Message-Id: <20200910054516.405777-1-f4...@amsat.org> Reviewed-by: Stefan Weil <s...@weilnetz.de> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index ce27eafb0a..7662b3bf6f 100755 --- a/configure +++ b/configure @@ -2981,7 +2981,10 @@ fi ########################################## # 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 whpx="yes" else -- 2.26.2