Re: [PATCH 4/8] KVM: SVM: move guest vmsave/vmload to assembly

From: Paolo Bonzini
Date: Mon Nov 07 2022 - 10:39:02 EST


On 11/7/22 16:32, Andrew Cooper wrote:
- vmload(svm->vmcb01.pa);
__svm_vcpu_run(vmcb_pa, svm);
- vmsave(svm->vmcb01.pa);
-
vmload(__sme_page_pa(sd->save_area));

%gs is still the guests until this vmload has completed.  It needs to
move down into asm too.

Sure, that's patch 6 in the series. See also cover letter: "this means moving guest vmload/vmsave and host vmload to assembly".

Paolo