forked from Minki/linux
3a43970d55
Implement the H_SVM_INIT_ABORT hcall which the Ultravisor can use to abort an SVM after it has issued the H_SVM_INIT_START and before the H_SVM_INIT_DONE hcalls. This hcall could be used when Ultravisor encounters security violations or other errors when starting an SVM. Note that this hcall is different from UV_SVM_TERMINATE ucall which is used by HV to terminate/cleanup an VM that has becore secure. The H_SVM_INIT_ABORT basically undoes operations that were done since the H_SVM_INIT_START hcall - i.e page-out all the VM pages back to normal memory, and terminate the SVM. (If we do not bring the pages back to normal memory, the text/data of the VM would be stuck in secure memory and since the SVM did not go secure, its MSR_S bit will be clear and the VM wont be able to access its pages even to do a clean exit). Based on patches and discussion with Paul Mackerras, Ram Pai and Bharata Rao. Signed-off-by: Ram Pai <linuxram@linux.ibm.com> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> Signed-off-by: Bharata B Rao <bharata@linux.ibm.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org> |
||
---|---|---|
.. | ||
bootwrapper.rst | ||
cpu_families.rst | ||
cpu_features.rst | ||
cxl.rst | ||
cxlflash.rst | ||
dawr-power9.rst | ||
dscr.rst | ||
eeh-pci-error-recovery.rst | ||
elfnote.rst | ||
firmware-assisted-dump.rst | ||
hvcs.rst | ||
index.rst | ||
isa-versions.rst | ||
kaslr-booke32.rst | ||
mpc52xx.rst | ||
pci_iov_resource_on_powernv.rst | ||
pmu-ebb.rst | ||
ptrace.rst | ||
qe_firmware.rst | ||
syscall64-abi.rst | ||
transactional_memory.rst | ||
ultravisor.rst | ||
vcpudispatch_stats.txt |