diff options
author | Jerome Tollet <jtollet@cisco.com> | 2018-10-02 11:41:11 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2018-10-02 16:28:57 +0200 |
commit | 2f54c27f7fd0d2c24e7d6b1d48809e8b58ec1abf (patch) | |
tree | c86d8e316796d9cfce9c52eed3241862609de9df /src/vnet/devices/virtio/vhost_user_inline.h | |
parent | 5507192339aed14634929b3e8d7c5d3e5ea8f997 (diff) |
vhost-user: add support for vlib_log API
Change-Id: I0af68f6b41d0024aa64b93a8b18e2d179bf939b0
Signed-off-by: Jerome Tollet <jtollet@cisco.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/vhost_user_inline.h')
-rw-r--r-- | src/vnet/devices/virtio/vhost_user_inline.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/vhost_user_inline.h b/src/vnet/devices/virtio/vhost_user_inline.h index 7e988eb9969..02c15ad666f 100644 --- a/src/vnet/devices/virtio/vhost_user_inline.h +++ b/src/vnet/devices/virtio/vhost_user_inline.h @@ -134,7 +134,7 @@ vhost_map_guest_mem_done: } } #endif - DBG_VQ ("failed to map guest mem addr %llx", addr); + vu_log_err (vui, "failed to map guest mem addr %llx", addr); *hint = 0; return 0; } @@ -173,7 +173,7 @@ vhost_user_log_dirty_pages_2 (vhost_user_intf_t * vui, } if (PREDICT_FALSE ((addr + len - 1) / VHOST_LOG_PAGE / 8 >= vui->log_size)) { - DBG_SOCK ("vhost_user_log_dirty_pages(): out of range\n"); + vu_log_debug (vui, "vhost_user_log_dirty_pages(): out of range\n"); return; } |