On 05/01/21 18:20, Sean Christopherson wrote:
This VMLOAD needs the "handle fault on reboot" goo. Seeing the code, I think I'd prefer to handle this in C code, especially if Paolo takes the svm_ops.h patch[*]. Actually, I think with that patch it'd make sense to move the existing VMSAVE+VMLOAD for the guest into svm.c, too. And completely unrelated, the fault handling in svm/vmenter.S can be cleaned up a smidge to eliminate the JMPs. Paolo, what do you think about me folding these patches into my series to do the above cleanups? And maybe sending a pull request for the end result? (I'd also like to add on a patch to use the user return MSR mechanism for MSR_TSC_AUX).
I have queued that part already, so Mike can rebase on top of kvm/queue. Paolo
[*]https://lkml.kernel.org/r/20201231002702.2223707-8-seanjc@xxxxxxxxxx