common/gnttab: Improve logging message by including relevent domid
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Oct 2017 20:03:06 +0000 (21:03 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Oct 2017 16:57:24 +0000 (17:57 +0100)
commit6f4a9dea06481aec36890f99da592db18758721c
treea3486c61097efa12a09e652113a0cad836d72200
parent56a53ee1c11b778e79e2ad7ee7e309e9917fd13c
common/gnttab: Improve logging message by including relevent domid

Several logging messages cite "bad ref %#x", without identifying which domain
the ref belongs to.  Add a domain back-pointer to struct grant_table to
improve the debugability.

While editing the messages, clean up some others:

 * Remove extranious punctuation
 * Use d%d rather than Dom%d
 * Remove "gnttab_transfer:" prefixes, as it is included by the gdprintk()
 * Reflow several messages to not be split across multiple lines

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
xen/common/grant_table.c