target/i386: WHPX: set CPUID_EXT_HYPERVISOR bit
commit7becac84fb352c01ad8b914aa956688f03079739
authorJustin Terry (VM) <juterry@microsoft.com>
Mon, 26 Mar 2018 17:06:58 +0000 (26 10:06 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Apr 2018 14:36:38 +0000 (9 16:36 +0200)
treea4cc441a61cca968e9e8188931b6475b6ccf8ffe
parent648abbfbaa4462bc015b15dd335068638bee4246
target/i386: WHPX: set CPUID_EXT_HYPERVISOR bit

Implements the CPUID trap for CPUID 1 to include the
CPUID_EXT_HYPERVISOR flag in the ECX results. This was preventing some
older linux kernels from booting when trying to access MSR's that dont
make sense when virtualized.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Message-Id: <20180326170658.606-1-juterry@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/whpx-all.c