Skip to content
Commit fa58a9fa authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 61ada748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment