Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c1786 struct kvm *source_kvm; in sev_vm_move_enc_context_from() local
1798 source_kvm = f.file->private_data; in sev_vm_move_enc_context_from()
1799 ret = sev_lock_two_vms(kvm, source_kvm); in sev_vm_move_enc_context_from()
1803 if (sev_guest(kvm) || !sev_guest(source_kvm)) { in sev_vm_move_enc_context_from()
1808 src_sev = &to_kvm_svm(source_kvm)->sev_info; in sev_vm_move_enc_context_from()
1822 ret = sev_lock_vcpus_for_migration(source_kvm, SEV_MIGRATION_TARGET); in sev_vm_move_enc_context_from()
1826 ret = sev_check_source_vcpus(kvm, source_kvm); in sev_vm_move_enc_context_from()
1830 sev_migrate_from(kvm, source_kvm); in sev_vm_move_enc_context_from()
1831 kvm_vm_dead(source_kvm); in sev_vm_move_enc_context_from()
1836 sev_unlock_vcpus_for_migration(source_kvm); in sev_vm_move_enc_context_from()
[all …]