diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-03-02 11:38:55 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-03-02 11:38:55 -0700 |
commit | 51b833f4405426b63b66380117bbe1f4c8976021 (patch) | |
tree | f592e0761cf84d14733f1d75ef13874454f730f4 /hw/vfio | |
parent | 46f770d4a55ceb21583ac573326f81901a3f1723 (diff) | |
download | qemu-51b833f4405426b63b66380117bbe1f4c8976021.zip qemu-51b833f4405426b63b66380117bbe1f4c8976021.tar.gz qemu-51b833f4405426b63b66380117bbe1f4c8976021.tar.bz2 |
vfio: Make type1 listener symbols static
They are not used from anywhere but common.c which is where these are
defined so make them static.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio')
-rw-r--r-- | hw/vfio/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index c9df08d..4ff8cab 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -475,12 +475,12 @@ static void vfio_listener_region_del(MemoryListener *listener, } } -const MemoryListener vfio_memory_listener = { +static const MemoryListener vfio_memory_listener = { .region_add = vfio_listener_region_add, .region_del = vfio_listener_region_del, }; -void vfio_listener_release(VFIOContainer *container) +static void vfio_listener_release(VFIOContainer *container) { memory_listener_unregister(&container->iommu_data.type1.listener); } |