[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen x86: Fix PV guest destruction.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1176719800 -3600
# Node ID 126f8bb9aa5df99268cfda9726eed80a4edf840a
# Parent  a9aa7c29eda8a9abf11e761ed2b4beb0cbfd026d
xen x86: Fix PV guest destruction.
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 xen/arch/x86/domain.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r a9aa7c29eda8 -r 126f8bb9aa5d xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Mon Apr 16 11:35:58 2007 +0100
+++ b/xen/arch/x86/domain.c     Mon Apr 16 11:36:40 2007 +0100
@@ -1543,7 +1543,8 @@ void domain_relinquish_resources(struct 
     /* Free page used by xen oprofile buffer. */
     free_xenoprof_pages(d);
 
-    hvm_domain_relinquish_resources(d);
+    if ( is_hvm_domain(d) )
+        hvm_domain_relinquish_resources(d);
 }
 
 void arch_dump_domain_info(struct domain *d)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.