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

KVM: nSVM: only copy L1 non-VMLOAD/VMSAVE data in svm_set_nested_state()



The VMLOAD/VMSAVE data is not taken from userspace, since it will
not be restored on VMEXIT (it will be copied from VMCB02 to VMCB01).
For clarity, replace the wholesale copy of the VMCB save area
with a copy of that state only.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4bb170a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment