Messages in this thread | | | Subject | Re: [PATCH v5 27/34] KVM: SVM: Add support for booting APs for an SEV-ES guest | From | Paolo Bonzini <> | Date | Mon, 4 Jan 2021 18:50:47 +0100 |
| |
On 04/01/21 18:38, Tom Lendacky wrote: >> >> Paolo, is this something along the lines of what you were thinking, or am >> I off base? I created kvm_emulate_ap_reset_hold() to keep the code >> consolidated and remove the duplication, but can easily make those >> changes >> local to sev.c. I'd also like to rename SVM_VMGEXIT_AP_HLT_LOOP to >> SVM_VMGEXIT_AP_RESET_HOLD to more closely match the GHBC document, but >> that can be done later (if possible, since it is already part of the uapi >> include file). > > Paolo, a quick ping after the holidays as to whether this is the > approach you were thinking. I think there are a couple of places in > x86.c to update (vcpu_block() and kvm_arch_vcpu_ioctl_get_mpstate()), also.
Yes, this is the basic idea.
Paolo
| |