diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-25 21:01:41 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-14 20:45:36 +0300 |
commit | 46c49372e10ea161beaa78936a64d2b49531dffb (patch) | |
tree | 0399e44695e155ac3dfe4f496afa983ce36e0704 /tools/perf/scripts/python/task-analyzer.py | |
parent | ea9bd29a9c0d757b3384ae3e633e6bbaddf00725 (diff) | |
download | linux-46c49372e10ea161beaa78936a64d2b49531dffb.tar.xz |
KVM: x86: move vm_destroy callback at end of kvm_arch_destroy_vm
TDX needs to free the TDR control structures last, after all paging structures
have been torn down; move the vm_destroy callback at a suitable place.
The new place is also okay for AMD; the main difference is that the
MMU has been torn down and, if anything, that is better done before
the SNP ASID is released.
Extracted from a patch by Yan Zhao.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions