diff options
| author | Sean Christopherson <[email protected]> | 2021-07-13 09:33:06 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-08-02 11:01:55 -0400 |
| commit | 1dd7a4f18fbcc0db1acc07df5c1ae8ba4ce10593 (patch) | |
| tree | d8dbbc467e9f603069e936ab120a6d72fae3754b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 32437c2aea428f9c3479904e342b02f5eee3a7f6 (diff) | |
KVM: VMX: Skip emulation required checks during pmode/rmode transitions
Don't refresh "emulation required" when stuffing segments during
transitions to/from real mode when running without unrestricted guest.
The checks are unnecessary as vmx_set_cr0() unconditionally rechecks
"emulation required". They also happen to be broken, as enter_pmode()
and enter_rmode() run with a stale vcpu->arch.cr0.
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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions