]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Make vfio_viommu_preset() static
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:50:50 +0000 (08:50 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commitd04a35cb742e6e3b3682e31addb7b68b22b1c6c3
tree807cb13a0c9644ccec14ed49a2c1ac39317f2e4a
parent0a73045687edb6d4b0dac90ca7ae19bf6b3eeb6b
vfio: Make vfio_viommu_preset() static

This routine is only used in file "migration.c". Move it there.

Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-6-clg@redhat.com
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-6-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/common.c
hw/vfio/migration.c
include/hw/vfio/vfio-common.h