Re: [Xen-devel] [PATCHv7 1/2] xen: unify foreign GFN map/unmap for auto-xlated physmap guests

2015-03-12 Thread Stefano Stabellini
On Wed, 11 Mar 2015, David Vrabel wrote: > Auto-translated physmap guests (arm, arm64 and x86 PVHVM/PVH) map and > unmap foreign GFNs using the same method (updating the physmap). > Unify the two arm and x86 implementations into one commont one. > > Note that on arm and arm64, the correct error co

[Xen-devel] [PATCHv7 1/2] xen: unify foreign GFN map/unmap for auto-xlated physmap guests

2015-03-11 Thread David Vrabel
Auto-translated physmap guests (arm, arm64 and x86 PVHVM/PVH) map and unmap foreign GFNs using the same method (updating the physmap). Unify the two arm and x86 implementations into one commont one. Note that on arm and arm64, the correct error code will be returned (instead of always -EFAULT) and