[PATCH v4 3/6] kvmppc: H_SVM_INIT_START and H_SVM_INIT_DONE hcalls
Bharata B Rao
bharata at linux.ibm.com
Tue Jul 9 20:04:57 AEST 2019
On Mon, Jun 17, 2019 at 03:37:56PM +1000, Paul Mackerras wrote:
> On Tue, May 28, 2019 at 12:19:30PM +0530, Bharata B Rao wrote:
> > H_SVM_INIT_START: Initiate securing a VM
> > H_SVM_INIT_DONE: Conclude securing a VM
> >
> > As part of H_SVM_INIT_START register all existing memslots with the UV.
> > H_SVM_INIT_DONE call by UV informs HV that transition of the guest
> > to secure mode is complete.
>
> It is worth mentioning here that setting any of the flag bits in
> kvm->arch.secure_guest will cause the assembly code that enters the
> guest to call the UV_RETURN ucall instead of trying to enter the guest
> directly. That's not necessarily obvious to the reader as this patch
> doesn't touch that assembly code.
Documented this in the commit message.
>
> Apart from that this patch looks fine.
>
> > Signed-off-by: Bharata B Rao <bharata at linux.ibm.com>
>
> Acked-by: Paul Mackerras <paulus at ozlabs.org>
Thanks,
Bharata.
More information about the Linuxppc-dev
mailing list