diff options
| author | 2026-03-13 13:20:41 +0100 | |
|---|---|---|
| committer | 2026-05-13 11:12:39 -0700 | |
| commit | 3b20a19c592d31d90594565de89f974135b22819 (patch) | |
| tree | 03613257c5bd780e5503ff050604e41b768b434f /tools/lib/python/kdoc/python_version.py | |
| parent | KVM: VFIO: use mutex guard in kvm_vfio_file_set_spapr_tce() (diff) | |
KVM: VFIO: deduplicate file release logic
There are two callsites which destroy files in kv->file_list: the
function servicing KVM_DEV_VFIO_FILE_DEL, and the relase of the whole
KVM VFIO device. The process involves several steps, so move all those
into a single function, removing duplicate code.
Signed-off-by: Carlos López <clopez@suse.de>
Reviewed-by: Alex Williamson <alex@shazbot.org>
Link: https://patch.msgid.link/20260313122040.1413091-6-clopez@suse.de
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
