bhyve: enhance debug info for memory range clash
Explain what the two clashing regions are. Reivewed by: grehan, jhb Differential Revision: https://reviews.freebsd.org/D29696 Pull Request: https://github.com/freebsd/freebsd-src/pull/463
This commit is contained in:
parent
43e4821315
commit
efec757b20
@ -109,9 +109,11 @@ mmio_rb_add(struct mmio_rb_tree *rbt, struct mmio_rb_range *new)
|
||||
|
||||
if (overlap != NULL) {
|
||||
#ifdef RB_DEBUG
|
||||
printf("overlap detected: new %lx:%lx, tree %lx:%lx\n",
|
||||
printf("overlap detected: new %lx:%lx, tree %lx:%lx, '%s' "
|
||||
"claims region already claimed for '%s'\n",
|
||||
new->mr_base, new->mr_end,
|
||||
overlap->mr_base, overlap->mr_end);
|
||||
overlap->mr_base, overlap->mr_end,
|
||||
new->mr_param.name, overlap->mr_param.name);
|
||||
#endif
|
||||
|
||||
return (EEXIST);
|
||||
|
Loading…
Reference in New Issue
Block a user