hvc/xen: Further s/MFN/GFN clean-up
authorJulien Grall <julien.grall@citrix.com>
Fri, 7 Aug 2015 16:34:40 +0000 (17:34 +0100)
committerJulien Grall <julien.grall@citrix.com>
Tue, 8 Sep 2015 17:03:53 +0000 (18:03 +0100)
commit859e3267c515d0cc7cc11528e80a2b7f3edc3bd9
tree21cf221d1e9e27cee5d6f8ea8c3434c1a0f1fc88
parent0467533a7a5da08a881a31120d95cd159e54640b
hvc/xen: Further s/MFN/GFN clean-up

HVM_PARAM_CONSOLE_PFN is used to retrieved the console PFN for HVM
guest. It returns a PFN (aka GFN) and not a MFN.

Furthermore, use directly virt_to_gfn for both PV and HVM domain rather
than doing a special case for each of the them.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/tty/hvc/hvc_xen.c