xen/privcmd: Further s/MFN/GFN/ clean-up
authorJulien Grall <julien.grall@citrix.com>
Fri, 7 Aug 2015 16:34:41 +0000 (17:34 +0100)
committerJulien Grall <julien.grall@citrix.com>
Tue, 8 Sep 2015 17:03:54 +0000 (18:03 +0100)
commita13d7201d7deedcbb6ac6efa94a1a7d34d3d79ec
treeccbf55b3856cac4525d13acc671a55398288cfec
parent859e3267c515d0cc7cc11528e80a2b7f3edc3bd9
xen/privcmd: Further s/MFN/GFN/ clean-up

The privcmd code is mixing the usage of GFN and MFN within the same
functions which make the code difficult to understand when you only work
with auto-translated guests.

The privcmd driver is only dealing with GFN so replace all the mention
of MFN into GFN.

The ioctl structure used to map foreign change has been left unchanged
given that the userspace is using it. Nonetheless, add a comment to
explain the expected value within the "mfn" field.

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>
arch/arm/xen/enlighten.c
arch/x86/xen/mmu.c
drivers/xen/privcmd.c
drivers/xen/xlate_mmu.c
include/uapi/xen/privcmd.h
include/xen/xen-ops.h