WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Frank.Vanderlinden@xxxxxxx" <Frank.Vanderlinden@xxxxxxx>
Subject: [Xen-devel] [PATCH 3/6] put domain in mce action
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Thu, 28 Jan 2010 13:55:56 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Jan, Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Wed, 27 Jan 2010 22:03:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acqf3o7A08GQX1s7SxKeaMzy5BgTDA==
Thread-topic: [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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 3/6] put domain in mce action, Jiang, Yunhong <=