diff options
| author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:50:50 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
| commit | d04a35cb742e6e3b3682e31addb7b68b22b1c6c3 (patch) | |
| tree | 807cb13a0c9644ccec14ed49a2c1ac39317f2e4a /hw/vfio/common.c | |
| parent | 0a73045687edb6d4b0dac90ca7ae19bf6b3eeb6b (diff) | |
| download | focaccia-qemu-d04a35cb742e6e3b3682e31addb7b68b22b1c6c3.tar.gz focaccia-qemu-d04a35cb742e6e3b3682e31addb7b68b22b1c6c3.zip | |
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>
Diffstat (limited to 'hw/vfio/common.c')
| -rw-r--r-- | hw/vfio/common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index d65e77b93a..679076343a 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -65,11 +65,6 @@ int vfio_kvm_device_fd = -1; */ -bool vfio_viommu_preset(VFIODevice *vbasedev) -{ - return vbasedev->bcontainer->space->as != &address_space_memory; -} - bool vfio_device_state_is_running(VFIODevice *vbasedev) { VFIOMigration *migration = vbasedev->migration; |