Searched refs:src_kvm (Results 1 – 1 of 1) sorted by relevance
1571 static int sev_lock_two_vms(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_lock_two_vms() argument1574 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_lock_two_vms()1577 if (dst_kvm == src_kvm) in sev_lock_two_vms()1593 if (mutex_lock_killable_nested(&src_kvm->lock, SINGLE_DEPTH_NESTING)) in sev_lock_two_vms()1606 static void sev_unlock_two_vms(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_unlock_two_vms() argument1609 struct kvm_sev_info *src_sev = &to_kvm_svm(src_kvm)->sev_info; in sev_unlock_two_vms()1612 mutex_unlock(&src_kvm->lock); in sev_unlock_two_vms()1681 static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm) in sev_migrate_from() argument1684 struct kvm_sev_info *src = &to_kvm_svm(src_kvm)->sev_info; in sev_migrate_from()1714 kvm_put_kvm(src_kvm); in sev_migrate_from()[all …]