Commit 441c7416 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

xen/privcmd: print SIGBUS faults

Print more detail about privcmd mapping faults for debugging.

[ Impact: debug ]
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 35f8c1c3
......@@ -403,6 +403,10 @@ static long privcmd_ioctl(struct file *file,
#ifndef HAVE_ARCH_PRIVCMD_MMAP
static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
{
printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n",
vma, vma->vm_start, vma->vm_end,
vmf->pgoff, vmf->virtual_address);
return VM_FAULT_SIGBUS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment