qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] configure: Do not intent to build WHPX on 32-bit host


From: Stefan Weil
Subject: Re: [PATCH v2] configure: Do not intent to build WHPX on 32-bit host
Date: Thu, 10 Sep 2020 07:48:49 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Am 10.09.20 um 07:45 schrieb Philippe Mathieu-Daudé:

> 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>
> ---
> Since v1: Handle MinGW automatic detection (Thomas, Stefan)
> ---
>  configure | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 4231d56bcc0..91c5d781845 100755
> --- a/configure
> +++ b/configure
> @@ -2980,7 +2980,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


Reviewed-by: Stefan Weil <sw@weilnetz.de>

Thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]