diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-11-16 09:29:35 -0500 |
---|---|---|
committer | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-11-16 09:50:10 -0500 |
commit | 1d339ffea368f4821055cbac1726bb76d67923da (patch) | |
tree | cce3ab4a4b9e6053b4df5222ae831fcf3dfcd7e6 /lib | |
parent | 5bec2b0cd1f70d5c6a8a71abe6670eac80f0733f (diff) | |
download | libvfio-user-1d339ffea368f4821055cbac1726bb76d67923da.zip libvfio-user-1d339ffea368f4821055cbac1726bb76d67923da.tar.gz libvfio-user-1d339ffea368f4821055cbac1726bb76d67923da.tar.bz2 |
log message for bad bitmaps flag
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/muser_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/muser_ctx.c b/lib/muser_ctx.c index 47e1d22..9224b11 100644 --- a/lib/muser_ctx.c +++ b/lib/muser_ctx.c @@ -1921,6 +1921,7 @@ handle_dirty_pages(lm_ctx_t *lm_ctx, uint32_t size, (struct vfio_iommu_type1_dirty_bitmap_get*)(dirty_bitmap + 1), size - sizeof *dirty_bitmap); } else { + lm_log(lm_ctx, LM_ERR, "bad flags %#x", dirty_bitmap->flags); ret = -EINVAL; } |