summary refs log tree commit diff stats
path: root/hw/vfio/vfio-listener.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/vfio-listener.h')
-rw-r--r--hw/vfio/vfio-listener.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vfio/vfio-listener.h b/hw/vfio/vfio-listener.h
index 93af6747b2..eb69ddd374 100644
--- a/hw/vfio/vfio-listener.h
+++ b/hw/vfio/vfio-listener.h
@@ -9,6 +9,7 @@
 #ifndef HW_VFIO_VFIO_LISTENER_H
 #define HW_VFIO_VFIO_LISTENER_H
 
-extern const MemoryListener vfio_memory_listener;
+bool vfio_listener_register(VFIOContainerBase *bcontainer, Error **errp);
+void vfio_listener_unregister(VFIOContainerBase *bcontainer);
 
 #endif /* HW_VFIO_VFIO_LISTENER_H */