66e0c5e297
modified is managed by libvirt and print warning if it is. xl-check-for-libvirt-managed-domain.patch - Upstream patches from Jan 53455585-x86-AMD-feature-masking-is-unavailable-on-Fam11.patch 5346a7a0-x86-AMD-support-further-feature-masking-MSRs.patch 534bbd90-x86-nested-HAP-don-t-BUG-on-legitimate-error.patch 534bdf47-x86-HAP-also-flush-TLB-when-altering-a-present-1G-or-intermediate-entry.patch 53563ea4-x86-MSI-drop-workaround-for-insecure-Dom0-kernels.patch 5357baff-x86-add-missing-break-in-dom0_pit_access.patch - XSA-92 xsa92.patch - Add # needssslcertforbuild to use the project's certificate when building in a home project. (bnc#872354) OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=312
25 lines
783 B
Diff
25 lines
783 B
Diff
# Commit 1ca73aaf51eba14256794bf045c2eb01e88e1324
|
|
# Date 2014-04-14 12:50:56 +0200
|
|
# Author Jan Beulich <jbeulich@suse.com>
|
|
# Committer Jan Beulich <jbeulich@suse.com>
|
|
x86/nested HAP: don't BUG() on legitimate error
|
|
|
|
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>
|
|
|
|
--- a/xen/arch/x86/mm/hap/nested_hap.c
|
|
+++ b/xen/arch/x86/mm/hap/nested_hap.c
|
|
@@ -133,7 +133,7 @@ nestedhap_fix_p2m(struct vcpu *v, struct
|
|
gdprintk(XENLOG_ERR,
|
|
"failed to set entry for %#"PRIx64" -> %#"PRIx64"\n",
|
|
L2_gpa, L0_gpa);
|
|
- BUG();
|
|
+ domain_crash(p2m->domain);
|
|
}
|
|
}
|
|
|