aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/linux/vfio.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-27 14:54:49 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-09-27 18:35:35 +0000
commit7d426535b4e98731193cc0265b83f2336dcdf5b3 (patch)
tree4b279f368e43f01778756414b6ab75b0f182f0b9 /src/vlib/linux/vfio.h
parentc263e48bdb5b1c05ad6fdba536a2cbbaf80405e7 (diff)
Add logging to vfio code
Change-Id: Iacdff0a5006a0617e3c9559ce7b258f26e256abb Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/linux/vfio.h')
-rw-r--r--src/vlib/linux/vfio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/linux/vfio.h b/src/vlib/linux/vfio.h
index 82490d805a8..7fe3ef8dc0e 100644
--- a/src/vlib/linux/vfio.h
+++ b/src/vlib/linux/vfio.h
@@ -39,6 +39,8 @@ typedef struct
/* iommu group pool index by group id hash */
uword *iommu_pool_index_by_group;
+ /* logging */
+ vlib_log_class_t log_default;
} linux_vfio_main_t;
extern linux_vfio_main_t vfio_main;