diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-08-30 12:58:11 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-09-05 20:36:15 (GMT) |
commit | 69870a847856a1ba81f655a8633fce5f5b614730 (patch) | |
tree | bffa55330a2e8e61f0cd6bcf23e45121c21bbcc7 /include/xen | |
parent | 6d7083eee3bc088d1fc30eefabd6263bca40c95a (diff) | |
download | linux-69870a847856a1ba81f655a8633fce5f5b614730.tar.xz |
xen/mm: return more precise error from xen_remap_domain_range()
Callers of xen_remap_domain_range() need to know if the remap failed
because frame is currently paged out. So they can retry the remap
later on. Return -ENOENT in this case.
This assumes that the error codes returned by Xen are a subset of
those used by the kernel. It is unclear if this is defined as part of
the hypercall ABI.
Acked-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions