summary refs log tree commit diff stats
path: root/hw/vfio/vfio-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/vfio-helpers.h')
-rw-r--r--hw/vfio/vfio-helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vfio/vfio-helpers.h b/hw/vfio/vfio-helpers.h
index dbcb68bbb0..54a327ffbc 100644
--- a/hw/vfio/vfio-helpers.h
+++ b/hw/vfio/vfio-helpers.h
@@ -12,6 +12,8 @@
 #ifdef CONFIG_LINUX
 #include <linux/vfio.h>
 
+extern int vfio_kvm_device_fd;
+
 struct vfio_info_cap_header *
 vfio_get_cap(void *ptr, uint32_t cap_offset, uint16_t id);
 struct vfio_info_cap_header *