Lines Matching full:protected
3 * Hosting Protected Virtual Machines
36 * struct pv_vm_to_be_destroyed - Represents a protected VM that needs to
40 * @old_gmap_table: the gmap table of the leftover protected VM
41 * @handle: the handle of the leftover protected VM
42 * @stor_var: pointer to the variable storage of the leftover protected VM
43 * @stor_base: address of the base storage of the leftover protected VM
45 * Represents a protected VM that is still registered with the Ultravisor,
202 * kvm_s390_pv_dispose_one_leftover - Clean up one leftover protected VM.
203 * @kvm: the KVM that was associated with this leftover protected VM
204 * @leftover: details about the leftover protected VM that needs a clean up
208 * Destroy one leftover protected VM.
243 * kvm_s390_destroy_lower_2g - Destroy the first 2GB of protected guest memory.
247 * The CPUs of the protected VM need to be destroyed beforehand.
303 * kvm_s390_pv_set_aside - Set aside a protected VM for later teardown.
308 * Set aside the protected VM for a subsequent teardown. The VM will be able
310 * properly tear down the protected VM is set aside. If another protected VM
313 * The CPUs of the protected VM need to be destroyed beforehand.
317 * Return: 0 in case of success, -EINVAL if another protected VM was already set
327 * If another protected VM was already prepared for teardown, refuse. in kvm_s390_pv_set_aside()
368 * kvm_s390_pv_deinit_vm - Deinitialize the current protected VM
369 * @kvm: the KVM whose protected VM needs to be deinitialized
373 * Deinitialize the current protected VM. This function will destroy and
374 * cleanup the current protected VM, but it will not cleanup the guest
375 * memory. This function should only be called when the protected VM has
407 * kvm_s390_pv_deinit_cleanup_all - Clean up all protected VMs associated
413 * This function will clean up all protected VMs associated with a KVM.
437 /* If the current VM is protected, destroy it */ in kvm_s390_pv_deinit_cleanup_all()
443 /* If a previous protected VM was set aside, put it in the need_cleanup list */ in kvm_s390_pv_deinit_cleanup_all()
449 /* Cleanup all protected VMs in the need_cleanup list */ in kvm_s390_pv_deinit_cleanup_all()
485 * kvm_s390_pv_deinit_aside_vm - Teardown a previously set aside protected VM.
486 * @kvm: the VM previously associated with the protected VM
490 * Tear down the protected VM that had been previously prepared for teardown
496 * Return: 0 in case of success, -EINVAL if no protected VM had been