summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-01-21 15:19:39 +0000
committerDamjan Marion <dmarion@me.com>2019-01-23 11:04:20 +0000
commit33cc5cfd04093d2da781cd3591d0da905873f865 (patch)
tree904bc4b0624cb394151cb1f41dfc3779f6a6e81e /src/vnet/devices/virtio/virtio.h
parent71ad6a9bf02d00e51b0959c33edc1b10dc857353 (diff)
virtio: Add support for logging
Change-Id: Ieadf0a97379ed8b17241e454895c4e5e195dc52f Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/virtio.h')
-rw-r--r--src/vnet/devices/virtio/virtio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/devices/virtio/virtio.h b/src/vnet/devices/virtio/virtio.h
index f4a8103a0ab..73bb33f8bcc 100644
--- a/src/vnet/devices/virtio/virtio.h
+++ b/src/vnet/devices/virtio/virtio.h
@@ -174,6 +174,9 @@ typedef struct
typedef struct
{
+ /* logging */
+ vlib_log_class_t log_default;
+
virtio_if_t *interfaces;
} virtio_main_t;