diff options
| author | Sean Christopherson <[email protected]> | 2020-04-28 16:10:24 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-05-15 12:26:16 -0400 |
| commit | 2408500dfc8f275f9057586b81466989f0fafc59 (patch) | |
| tree | 0cd76e0599e6c7b579a6a7df969d724bd156fb46 /tools/perf/scripts/python | |
| parent | 551896e0e060ca32947621e353b4918e90b88822 (diff) | |
KVM: nVMX: Truncate writes to vmcs.SYSENTER_EIP/ESP for 32-bit vCPU
Explicitly truncate the data written to vmcs.SYSENTER_EIP/ESP on WRMSR
if the virtual CPU doesn't support 64-bit mode. The SYSENTER address
fields in the VMCS are natural width, i.e. bits 63:32 are dropped if the
CPU doesn't support Intel 64 architectures. This behavior is visible to
the guest after a VM-Exit/VM-Exit roundtrip, e.g. if the guest sets bits
63:32 in the actual MSR.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions