summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorPaolo Bonzini2018-07-18 18:49:01 +0200
committerPaolo Bonzini2018-08-06 17:57:58 +0200
commit7f7f1ba33cf2c21d001821313088c231db42ff40 (patch)
treeeed46700a5932890c27f8770f244c9bdb21527fc /include/uapi/linux/kvm.h
parentkvm: selftests: add basic test for state save and restore (diff)
downloadkernel-qcow2-linux-7f7f1ba33cf2c21d001821313088c231db42ff40.tar.gz
kernel-qcow2-linux-7f7f1ba33cf2c21d001821313088c231db42ff40.tar.xz
kernel-qcow2-linux-7f7f1ba33cf2c21d001821313088c231db42ff40.zip
KVM: x86: do not load vmcs12 pages while still in SMM
If the vCPU enters system management mode while running a nested guest, RSM starts processing the vmentry while still in SMM. In that case, however, the pages pointed to by the vmcs12 might be incorrectly loaded from SMRAM. To avoid this, delay the handling of the pages until just before the next vmentry. This is done with a new request and a new entry in kvm_x86_ops, which we will be able to reuse for nested VMX state migration. Extracted from a patch by Jim Mattson and KarimAllah Ahmed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions