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

[Xen-devel] [PATCH 3/6] put domain in mce action



put domain in mce action.

Add the mised put_domain in UCR handler function.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>

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);
                       }
                   }
               }


Attachment: put_domain.patch
Description: put_domain.patch

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

 


Rackspace

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