c9e3853c04
24448-x86-pt-irq-leak.patch - Upstream patches from Jan 24261-x86-cpuidle-Westmere-EX.patch 24417-amd-erratum-573.patch 24429-mceinj-tool.patch 24447-x86-TXT-INIT-SIPI-delay.patch ioemu-9868-MSI-X.patch - bnc#732884 - remove private runlevel 4 from init scripts xen.no-default-runlevel-4.patch - bnc#727515 - Fragmented packets hang network boot of HVM guest ipxe-gcc45-warnings.patch ipxe-ipv4-fragment.patch ipxe-enable-nics.patch - fate#310510 - fix xenpaging update xenpaging.autostart.patch, make changes with mem-swap-target permanent update xenpaging.doc.patch, mention issues with live migration - fate#310510 - fix xenpaging add xenpaging.evict_mmap_readonly.patch update xenpaging.error-handling.patch, reduce debug output - bnc#736824 - Microcode patches for AMD's 15h processors panic the system 24189-x86-p2m-pod-locking.patch 24412-x86-AMD-errata-model-shift.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=164
29 lines
854 B
Diff
29 lines
854 B
Diff
# HG changeset patch
|
|
# User Liu, Jinsong <jinsong.liu@intel.com>
|
|
# Date 1324219200 0
|
|
# Node ID 9587ccc2ae3192fd5625a87fa58e840377471867
|
|
# Parent 5b4b7e565ab82b06940889f2be7e30042b2881fc
|
|
X86-MCE: fix a bug of xen-mceinj tool
|
|
|
|
Fix a bug of xen-mceinj tool which used to test mce by software way.
|
|
|
|
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
|
|
Committed-by: Keir Fraser <keir@xen.org>
|
|
|
|
--- a/tools/tests/mce-test/tools/xen-mceinj.c
|
|
+++ b/tools/tests/mce-test/tools/xen-mceinj.c
|
|
@@ -134,8 +134,12 @@ static int mca_cpuinfo(xc_interface *xc_
|
|
{
|
|
struct xen_mc mc;
|
|
|
|
+ memset(&mc, 0, sizeof(struct xen_mc));
|
|
+
|
|
mc.cmd = XEN_MC_physcpuinfo;
|
|
- if (xc_mca_op(xc_handle, &mc))
|
|
+ mc.interface_version = XEN_MCA_INTERFACE_VERSION;
|
|
+
|
|
+ if (!xc_mca_op(xc_handle, &mc))
|
|
return mc.u.mc_physcpuinfo.ncpus;
|
|
else
|
|
return 0;
|