[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/57] configure: Do not intent to build WHPX on 32-bit host
From: |
Paolo Bonzini |
Subject: |
[PULL 08/57] configure: Do not intent to build WHPX on 32-bit host |
Date: |
Sat, 19 Sep 2020 11:58:27 -0400 |
From: Philippe Mathieu-Daudé <f4bug@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é <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>
---
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
- [PULL 00/57] Misc patches for 2020-09-19, Paolo Bonzini, 2020/09/19
- [PULL 02/57] iotests: Work around failing readlink -f, Paolo Bonzini, 2020/09/19
- [PULL 04/57] ninjatool: rebuild multi-output targets if outputs are missing, Paolo Bonzini, 2020/09/19
- [PULL 01/57] tests: add missing genh dependency, Paolo Bonzini, 2020/09/19
- [PULL 07/57] WHPX: vmware cpuid leaf for tsc and apic frequency, Paolo Bonzini, 2020/09/19
- [PULL 03/57] meson: clean up build_by_default, Paolo Bonzini, 2020/09/19
- [PULL 06/57] meson: error out if qemu_suffix starts with /, Paolo Bonzini, 2020/09/19
- [PULL 05/57] meson: fix MSI rule, Paolo Bonzini, 2020/09/19
- [PULL 08/57] configure: Do not intent to build WHPX on 32-bit host,
Paolo Bonzini <=
- [PULL 09/57] MAINTAINERS: add Paolo Bonzini as RCU maintainer, Paolo Bonzini, 2020/09/19
- [PULL 16/57] doc: Cleanup "'-mem-path' fallback to RAM" deprecation text, Paolo Bonzini, 2020/09/19
- [PULL 12/57] vhost-scsi: support inflight io track, Paolo Bonzini, 2020/09/19
- [PULL 10/57] target/i386: support KVM_FEATURE_ASYNC_PF_INT, Paolo Bonzini, 2020/09/19
- [PULL 11/57] memory: Convert IOMMUMemoryRegionClass doc comment to kernel-doc, Paolo Bonzini, 2020/09/19
- [PULL 17/57] numa: remove fixup numa_state->num_nodes to MAX_NODES, Paolo Bonzini, 2020/09/19
- [PULL 23/57] hw/char/serial: Remove old DEBUG_SERIAL commented code, Paolo Bonzini, 2020/09/19
- [PULL 24/57] hw/char/serial: Rename I/O read/write trace events, Paolo Bonzini, 2020/09/19
- [PULL 28/57] hw: megasas: return -1 when 'megasas_map_sgl' fails, Paolo Bonzini, 2020/09/19
- [PULL 19/57] hw/char/serial: Remove TYPE_SERIAL_IO, Paolo Bonzini, 2020/09/19