ia64/xen-unstable

changeset 9143:42f93cc190b7

Fix SVM guest destroy: I/O shared page is mapped globally so must unmap
with unmap_domain_page_global().

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Mar 06 10:58:50 2006 +0100 (2006-03-06)
parents 64f11b0e2e7d
children d75cab09ef57
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Sat Mar 04 19:16:36 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Mon Mar 06 10:58:50 2006 +0100
     1.3 @@ -744,7 +744,8 @@ void svm_relinquish_resources(struct vcp
     1.4          /* unmap IO shared page */
     1.5          struct domain *d = v->domain;
     1.6          if ( d->arch.hvm_domain.shared_page_va )
     1.7 -            unmap_domain_page((void *)d->arch.hvm_domain.shared_page_va);
     1.8 +            unmap_domain_page_global(
     1.9 +                (void *)d->arch.hvm_domain.shared_page_va);
    1.10          shadow_direct_map_clean(d);
    1.11      }
    1.12