Home
last modified time | relevance | path

Searched refs:source_kvm (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c2080 struct kvm *source_kvm; in sev_vm_move_enc_context_from() local
2092 source_kvm = fd_file(f)->private_data; in sev_vm_move_enc_context_from()
2093 ret = sev_lock_two_vms(kvm, source_kvm); in sev_vm_move_enc_context_from()
2097 if (kvm->arch.vm_type != source_kvm->arch.vm_type || in sev_vm_move_enc_context_from()
2098 sev_guest(kvm) || !sev_guest(source_kvm)) { in sev_vm_move_enc_context_from()
2103 src_sev = &to_kvm_svm(source_kvm)->sev_info; in sev_vm_move_enc_context_from()
2117 ret = sev_lock_vcpus_for_migration(source_kvm, SEV_MIGRATION_TARGET); in sev_vm_move_enc_context_from()
2121 ret = sev_check_source_vcpus(kvm, source_kvm); in sev_vm_move_enc_context_from()
2125 sev_migrate_from(kvm, source_kvm); in sev_vm_move_enc_context_from()
2126 kvm_vm_dead(source_kvm); in sev_vm_move_enc_context_from()
[all …]