diff options
author | 2016-11-29 18:14:10 -0800 | |
---|---|---|
committer | 2016-12-08 15:31:08 +0100 | |
commit | 5a6a9748b4b41c1708dca12342256a19434513f2 (patch) | |
tree | 1c34c6ca242bc39e266971041d91425bdcc71b18 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nVMX: generate MSR_IA32_CR{0,4}_FIXED1 from guest CPUID (diff) | |
download | linux-dev-5a6a9748b4b41c1708dca12342256a19434513f2.tar.xz linux-dev-5a6a9748b4b41c1708dca12342256a19434513f2.zip |
KVM: nVMX: load GUEST_EFER after GUEST_CR0 during emulated VM-entry
vmx_set_cr0() modifies GUEST_EFER and "IA-32e mode guest" in the current
VMCS. Call vmx_set_efer() after vmx_set_cr0() so that emulated VM-entry
is more faithful to VMCS12.
This patch correctly causes VM-entry to fail when "IA-32e mode guest" is
1 and GUEST_CR0.PG is 0. Previously this configuration would succeed and
"IA-32e mode guest" would silently be disabled by KVM.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions