ia64/xen-unstable
changeset 14861:126f8bb9aa5d
xen x86: Fix PV guest destruction.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author | kfraser@localhost.localdomain |
---|---|
date | Mon Apr 16 11:36:40 2007 +0100 (2007-04-16) |
parents | a9aa7c29eda8 |
children | 52474e2df628 |
files | xen/arch/x86/domain.c |
line diff
1.1 --- a/xen/arch/x86/domain.c Mon Apr 16 11:35:58 2007 +0100 1.2 +++ b/xen/arch/x86/domain.c Mon Apr 16 11:36:40 2007 +0100 1.3 @@ -1543,7 +1543,8 @@ void domain_relinquish_resources(struct 1.4 /* Free page used by xen oprofile buffer. */ 1.5 free_xenoprof_pages(d); 1.6 1.7 - hvm_domain_relinquish_resources(d); 1.8 + if ( is_hvm_domain(d) ) 1.9 + hvm_domain_relinquish_resources(d); 1.10 } 1.11 1.12 void arch_dump_domain_info(struct domain *d)