]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: SVM: move VMLOAD/VMSAVE to C code
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2021 12:10:43 +0000 (07:10 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Feb 2021 13:36:06 +0000 (08:36 -0500)
commit42486f4bd16d2651a3e34df7f213d95fddaf14d8
tree002f2cbbfed96886da58b543e83f1479bdcbd8eb
parentb97bb9265b65b487bc5636eead1671422e463e66
KVM: SVM: move VMLOAD/VMSAVE to C code

Thanks to the new macros that handle exception handling for SVM
instructions, it is easier to just do the VMLOAD/VMSAVE in C.
This is safe, as shown by the fact that the host reload is
already done outside the assembly source.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/vmenter.S