aboutsummaryrefslogtreecommitdiff
path: root/kmod
diff options
context:
space:
mode:
authorFelipe Franciosi <felipe@nutanix.com>2019-10-02 12:41:50 +0100
committerFelipe Franciosi <felipe@nutanix.com>2019-10-02 12:42:04 +0100
commitd6faa3db75bc177ebdda4b3d93e1d2ec6168f283 (patch)
treef893faf19dbde58492b317d59085dbb0e4710378 /kmod
parentd0cb80d75e52b03530f69ccfbdad942365761de7 (diff)
downloadlibvfio-user-d6faa3db75bc177ebdda4b3d93e1d2ec6168f283.zip
libvfio-user-d6faa3db75bc177ebdda4b3d93e1d2ec6168f283.tar.gz
libvfio-user-d6faa3db75bc177ebdda4b3d93e1d2ec6168f283.tar.bz2
Log mmap_dev at debug level
Diffstat (limited to 'kmod')
-rw-r--r--kmod/muser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmod/muser.c b/kmod/muser.c
index aede3b9..b0c997c 100644
--- a/kmod/muser.c
+++ b/kmod/muser.c
@@ -504,9 +504,9 @@ static int libmuser_mmap_dev(struct file *fp, struct vm_area_struct *vma)
cur_pgidx = vma->vm_pgoff & ~(BIT(63 - PAGE_SHIFT));
end_pgidx = cur_pgidx + nr_pages;
- muser_info("mmap_dev: end 0x%lX - start 0x%lX (0x%lX), off = 0x%lX",
- vma->vm_end, vma->vm_start, vma->vm_end - vma->vm_start,
- cur_pgidx);
+ muser_dbg("mmap_dev: end 0x%lX - start 0x%lX (0x%lX), off = 0x%lX",
+ vma->vm_end, vma->vm_start, vma->vm_end - vma->vm_start,
+ cur_pgidx);
mutex_lock(&mudev->dev_lock);
for (i = 0; cur_pgidx < end_pgidx; cur_pgidx++, i++) {