Lines Matching full:protected
3 * Hosting Protected Virtual Machines
96 * struct pv_vm_to_be_destroyed - Represents a protected VM that needs to
100 * @old_gmap_table: the gmap table of the leftover protected VM
101 * @handle: the handle of the leftover protected VM
102 * @stor_var: pointer to the variable storage of the leftover protected VM
103 * @stor_base: address of the base storage of the leftover protected VM
105 * Represents a protected VM that is still registered with the Ultravisor,
262 * kvm_s390_pv_dispose_one_leftover - Clean up one leftover protected VM.
263 * @kvm: the KVM that was associated with this leftover protected VM
264 * @leftover: details about the leftover protected VM that needs a clean up
268 * Destroy one leftover protected VM.
303 * kvm_s390_destroy_lower_2g - Destroy the first 2GB of protected guest memory.
307 * The CPUs of the protected VM need to be destroyed beforehand.
363 * kvm_s390_pv_set_aside - Set aside a protected VM for later teardown.
368 * Set aside the protected VM for a subsequent teardown. The VM will be able
370 * properly tear down the protected VM is set aside. If another protected VM
373 * The CPUs of the protected VM need to be destroyed beforehand.
377 * Return: 0 in case of success, -EINVAL if another protected VM was already set
387 * If another protected VM was already prepared for teardown, refuse. in kvm_s390_pv_set_aside()
428 * kvm_s390_pv_deinit_vm - Deinitialize the current protected VM
429 * @kvm: the KVM whose protected VM needs to be deinitialized
433 * Deinitialize the current protected VM. This function will destroy and
434 * cleanup the current protected VM, but it will not cleanup the guest
435 * memory. This function should only be called when the protected VM has
467 * kvm_s390_pv_deinit_cleanup_all - Clean up all protected VMs associated
473 * This function will clean up all protected VMs associated with a KVM.
497 /* If the current VM is protected, destroy it */ in kvm_s390_pv_deinit_cleanup_all()
503 /* If a previous protected VM was set aside, put it in the need_cleanup list */ in kvm_s390_pv_deinit_cleanup_all()
509 /* Cleanup all protected VMs in the need_cleanup list */ in kvm_s390_pv_deinit_cleanup_all()
545 * kvm_s390_pv_deinit_aside_vm - Teardown a previously set aside protected VM.
546 * @kvm: the VM previously associated with the protected VM
550 * Tear down the protected VM that had been previously prepared for teardown
556 * Return: 0 in case of success, -EINVAL if no protected VM had been