debuggers.hg

changeset 20909:805eae786b50

x86 mca: Add the mised put_domain in UCR handler function.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jan 29 06:48:37 2010 +0000 (2010-01-29)
parents 7310235f74f8
children da5faf9f5df8
files xen/arch/x86/cpu/mcheck/mce_intel.c
line diff
     1.1 --- a/xen/arch/x86/cpu/mcheck/mce_intel.c	Fri Jan 29 06:48:00 2010 +0000
     1.2 +++ b/xen/arch/x86/cpu/mcheck/mce_intel.c	Fri Jan 29 06:48:37 2010 +0000
     1.3 @@ -377,6 +377,7 @@ static void intel_UCR_handler(struct mci
     1.4                            {
     1.5                                mce_printk(MCE_QUIET, "Fill vMCE# data for DOM%d "
     1.6                                        "failed\n", result->owner);
     1.7 +                              put_domain(d);
     1.8                                domain_crash(d);
     1.9                                return;
    1.10                            }
    1.11 @@ -385,6 +386,7 @@ static void intel_UCR_handler(struct mci
    1.12                            {
    1.13                                mce_printk(MCE_QUIET, "inject vMCE to DOM%d"
    1.14                                            " failed\n", d->domain_id);
    1.15 +                              put_domain(d);
    1.16                                domain_crash(d);
    1.17                                return;
    1.18                            }
    1.19 @@ -394,6 +396,7 @@ static void intel_UCR_handler(struct mci
    1.20                             * its own recovery job.
    1.21                             */
    1.22                            result->result = MCA_RECOVERED;
    1.23 +                          put_domain(d);
    1.24                        }
    1.25                    }
    1.26                }