aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-05-07 12:18:02 -0700
committerPaolo Bonzini <[email protected]>2019-06-18 11:47:45 +0200
commit469debdb8be5814c71c146ce8e21ae7363ae644d (patch)
tree698d1aa91975b05748862bc8f12342575d04af1b /scripts/gen_compile_commands.py
parentde0286b7884a6a3309e299dda876810faa281547 (diff)
KVM: nVMX: Preset *DT exiting in vmcs02 when emulating UMIP
KVM dynamically toggles SECONDARY_EXEC_DESC to intercept (a subset of) instructions that are subject to User-Mode Instruction Prevention, i.e. VMCS.SECONDARY_EXEC_DESC == CR4.UMIP when emulating UMIP. Preset the VMCS control when preparing vmcs02 to avoid unnecessarily VMWRITEs, e.g. KVM will clear VMCS.SECONDARY_EXEC_DESC in prepare_vmcs02_early() and then set it in vmx_set_cr4(). Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions