WHPX: Fix WHPX build break
commit57e2a1f82c6cf37cbf164d0824cca692e0db7133
authorSunil Muthuswamy <sunilmut@microsoft.com>
Thu, 22 Oct 2020 00:27:55 +0000 (22 00:27 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Oct 2020 11:08:39 +0000 (26 07:08 -0400)
tree647dacb55812d504ab8ba7989ccc7d5c9703bdba
parentc8d5450bba38560193f5648f5337199d797c5208
WHPX: Fix WHPX build break

With upstream commit#8a19980e3fc4, logic was introduced to only
allow WHPX build on x64. But, the logic checks for the cpu family
and not the cpu. On my fedora container build, the cpu family is
x86 and the cpu is x86_64. Fixing the build break by checking for
the cpu, instead of the cpu family.

Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Message-Id: <SN4PR2101MB0880D706A85793DDFC411304C01D0@SN4PR2101MB0880.namprd21.prod.outlook.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build