diff options
| author | Carlos López <clopez@suse.de> | 2026-03-13 13:20:41 +0100 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-13 11:12:39 -0700 |
| commit | 3b20a19c592d31d90594565de89f974135b22819 (patch) | |
| tree | 03613257c5bd780e5503ff050604e41b768b434f /include/linux/timerqueue_types.h | |
| parent | 40f0f4bb6041b1f520445a4c5f0c8777f7c98f8e (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 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
