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

[Xen-changelog] [xen-unstable] x86 mca: Add the mised put_domain in UCR handler function.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1264747717 0
# Node ID 805eae786b50d0398075adb8d3d0202574f63b15
# Parent  7310235f74f8f76f992bb3e92c292eb73e2ee579
x86 mca: Add the mised put_domain in UCR handler function.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
---
 xen/arch/x86/cpu/mcheck/mce_intel.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 7310235f74f8 -r 805eae786b50 xen/arch/x86/cpu/mcheck/mce_intel.c
--- a/xen/arch/x86/cpu/mcheck/mce_intel.c       Fri Jan 29 06:48:00 2010 +0000
+++ b/xen/arch/x86/cpu/mcheck/mce_intel.c       Fri Jan 29 06:48:37 2010 +0000
@@ -377,6 +377,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;
                           }
@@ -385,6 +386,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;
                           }
@@ -394,6 +396,7 @@ static void intel_UCR_handler(struct mci
                            * its own recovery job.
                            */
                           result->result = MCA_RECOVERED;
+                          put_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®.