aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-07-18 19:45:51 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-08-06 17:58:43 +0200
commitfa58a9fa74979f845fc6c94a58501e67f3abb6de (patch)
tree763f209a8891b58378cb3733f9fd29e54d642a0b /tools/testing/selftests/kvm/include
parentKVM: nVMX: Cache shadow vmcs12 on VMEntry and flush to memory on VMExit (diff)
downloadlinux-dev-fa58a9fa74979f845fc6c94a58501e67f3abb6de.tar.xz
linux-dev-fa58a9fa74979f845fc6c94a58501e67f3abb6de.zip
KVM: nVMX: include shadow vmcs12 in nested state
The shadow vmcs12 cannot be flushed on KVM_GET_NESTED_STATE, because at that point guest memory is assumed by userspace to be immutable. Capture the cache in vmx_get_nested_state, adding another page at the end if there is an active shadow vmcs12. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/include')
0 files changed, 0 insertions, 0 deletions