projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a5061
)
x86/mm: return -ESRCH for an invalid foreign domid
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 2 Nov 2015 14:34:01 +0000
(15:34 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 2 Nov 2015 14:34:01 +0000
(15:34 +0100)
For consistency with all other invalid domid handling.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm.c
b/xen/arch/x86/mm.c
index b65c3a51e2ad4390d7f4a35d51ae41d8db76b8a3..92df36fa197d2bd29095407b851ab7bf8156197c 100644
(file)
--- a/
xen/arch/x86/mm.c
+++ b/
xen/arch/x86/mm.c
@@
-3544,7
+3544,7
@@
long do_mmu_update(
{
/* Pagetables belong to a foreign domain (PFD). */
if ( (pt_owner = rcu_lock_domain_by_id(pt_dom - 1)) == NULL )
- return -E
INVAL
;
+ return -E
SRCH
;
if ( pt_owner == d )
rcu_unlock_domain(pt_owner);