put domain in mce action. Add the mised put_domain in UCR handler function. Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com> diff -r cd453b3d7b25 xen/arch/x86/cpu/mcheck/mce_intel.c --- a/xen/arch/x86/cpu/mcheck/mce_intel.c Sat Jan 23 08:28:01 2010 +0000 +++ b/xen/arch/x86/cpu/mcheck/mce_intel.c Tue Jan 26 00:33:00 2010 +0800 @@ -370,6 +370,7 @@ static void intel_UCR_handler(struct mci { mce_printk(MCE_QUIET, "Fill vMCE# data for DOM%d " "failed\n", result->owner); + put_domain(d); domain_crash(d); return; } @@ -378,6 +379,7 @@ static void intel_UCR_handler(struct mci { mce_printk(MCE_QUIET, "inject vMCE to DOM%d" " failed\n", d->domain_id); + put_domain(d); domain_crash(d); return; } @@ -387,6 +389,7 @@ static void intel_UCR_handler(struct mci * its own recovery job. */ result->result = MCA_RECOVERED; + put_domain(d); } } } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel