On Mon, Jun 17, 2019 at 02:06:32PM +1000, Paul Mackerras wrote: > On Tue, May 28, 2019 at 12:19:33PM +0530, Bharata B Rao wrote: > > Add support for reset of secure guest via a new ioctl KVM_PPC_SVM_OFF. > > This ioctl will be issued by QEMU during reset and in this ioctl, > > we ask UV to terminate the guest via UV_SVM_TERMINATE ucall, > > reinitialize guest's partitioned scoped page tables and release all > > HMM pages of the secure guest. > > > > After these steps, guest is ready to issue UV_ESM call once again > > to switch to secure mode. > > Since you are adding a new KVM ioctl, you need to add a description of > it to Documentation/virtual/kvm/api.txt. Adding in the next version. Regards, Bharata.