|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] Modify p2m converter to avoid hype
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 3470d9cd27e5caf555b3df6e1b29ae4f3f96c3ac
# Parent f34e37d0742d80ccfefd017a91f93310ebc2dfe8
[IA64] Modify p2m converter to avoid hypervisor crash
Crash occurs during destruction of VT-i domain with PV-on-HVM.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
---
xen/arch/ia64/xen/mm.c | 6 ++++++
1 files changed, 6 insertions(+)
diff -r f34e37d0742d -r 3470d9cd27e5 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c Tue Sep 26 19:11:33 2006 -0600
+++ b/xen/arch/ia64/xen/mm.c Sun Oct 01 10:48:40 2006 -0600
@@ -396,6 +396,12 @@ gmfn_to_mfn_foreign(struct domain *d, un
{
unsigned long pte;
+ // This function may be called from __gnttab_copy()
+ // during destruction of VT-i domain with PV-on-HVM driver.
+ if (unlikely(d->arch.mm.pgd == NULL)) {
+ if (VMX_DOMAIN(d->vcpu[0]))
+ return INVALID_MFN;
+ }
pte = lookup_domain_mpa(d,gpfn << PAGE_SHIFT, NULL);
if (!pte) {
panic("gmfn_to_mfn_foreign: bad gpfn. spinning...\n");
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] Modify p2m converter to avoid hypervisor crash,
Xen patchbot-unstable <=
|
|
|
|
|