]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
xen/device-tree: Print the DT path on error in dt_for_each_range
authorJulien Grall <julien.grall@citrix.com>
Mon, 19 Oct 2015 12:58:00 +0000 (13:58 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 22 Oct 2015 15:19:29 +0000 (16:19 +0100)
commit01a8a8126d02b81bac4fe81541be0cccefc8a4c8
treeac7d4d60c90cda4019a8cd7ac801017508d51417
parent9b3c6b13e0c085ceb53210f8e682a073096b94fa
xen/device-tree: Print the DT path on error in dt_for_each_range

With the current log is not possible for the user to understand
properly the error:

(XEN) Grant table range: 0x0000007fc00000-0x0000007fc72000
(XEN) DT: no ranges; cannot enumerate
(XEN) Device tree generation failed (-22).
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Could not set up DOM0 guest OS
(XEN) ****************************************
(XEN)

The other error message within the function already print the DT path.
Do the same here.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
xen/common/device_tree.c