[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] vmx: Fix crash during domain destruction after apic-access cleanup patch.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1198857643 0 # Node ID 023e7a1d43fafc8d2c1bcef814892e2b6941ccea # Parent af903633d986d0aaf7f5ce04c456e0ab002a9560 vmx: Fix crash during domain destruction after apic-access cleanup patch. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/hvm/vmx/vmx.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r af903633d986 -r 023e7a1d43fa xen/arch/x86/hvm/vmx/vmx.c --- a/xen/arch/x86/hvm/vmx/vmx.c Fri Dec 28 15:52:50 2007 +0000 +++ b/xen/arch/x86/hvm/vmx/vmx.c Fri Dec 28 16:00:43 2007 +0000 @@ -2672,7 +2672,7 @@ static void vmx_free_vlapic_mapping(stru static void vmx_free_vlapic_mapping(struct domain *d) { unsigned long mfn = d->arch.hvm_domain.vmx_apic_access_mfn; - if ( mfn != 0 ) + if ( (mfn != 0) && mfn_valid(mfn) ) free_xenheap_page(mfn_to_virt(mfn)); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |