diff options
| author | Krish Sadhukhan <[email protected]> | 2020-09-21 08:10:25 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-09-28 07:57:18 -0400 |
| commit | bddd82d19e2e580b11e62f7a1d86ee52d8e437b6 (patch) | |
| tree | 57e9b8a1de95aa67a3bf696327bfefb8beedf7d2 /tools/perf/scripts/python/netdev-times.py | |
| parent | cc5b54dd58d0420c1b1f1e9b29f53327076e9355 (diff) | |
KVM: nVMX: KVM needs to unset "unrestricted guest" VM-execution control in vmcs02 if vmcs12 doesn't set it
Currently, prepare_vmcs02_early() does not check if the "unrestricted guest"
VM-execution control in vmcs12 is turned off and leaves the corresponding
bit on in vmcs02. Due to this setting, vmentry checks which are supposed to
render the nested guest state as invalid when this VM-execution control is
not set, are passing in hardware.
This patch turns off the "unrestricted guest" VM-execution control in vmcs02
if vmcs12 has turned it off.
Suggested-by: Jim Mattson <[email protected]>
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Krish Sadhukhan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions