projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561e1dc
)
x86/nested HAP: don't BUG() on legitimate error
author
Jan Beulich
<jbeulich@suse.com>
Mon, 14 Apr 2014 10:50:56 +0000
(12:50 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 14 Apr 2014 10:50:56 +0000
(12:50 +0200)
p2m_set_entry() can fail without there being a bug in the code - crash
the domain rather than the host in that case.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/nested_hap.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/hap/nested_hap.c
b/xen/arch/x86/mm/hap/nested_hap.c
index 5c41725f1d76e910c87b4d99fd54123a1e35c9fd..9d8bfc884e14cd7bc7daf4a0b5b4493ca420f7cb 100644
(file)
--- a/
xen/arch/x86/mm/hap/nested_hap.c
+++ b/
xen/arch/x86/mm/hap/nested_hap.c
@@
-134,7
+134,7
@@
nestedhap_fix_p2m(struct vcpu *v, struct p2m_domain *p2m,
gdprintk(XENLOG_ERR,
"failed to set entry for %#"PRIx64" -> %#"PRIx64" rc:%d\n",
L2_gpa, L0_gpa, rc);
-
BUG(
);
+
domain_crash(p2m->domain
);
}
}