[Xen-devel] [PATCH v3 4/9] x86/vmce: emulate MSR_IA32_MCG_EXT_CTL

2017-03-30 Thread Haozhong Zhang
If MCG_LMCE_P is present in guest MSR_IA32_MCG_CAP, then allow guest to read/write MSR_IA32_MCG_EXT_CTL. Signed-off-by: Haozhong Zhang --- Cc: Jan Beulich Cc: Andrew Cooper Changes in v3: * Replace lmce_enabled in struct

[Xen-devel] [PATCH v3 2/9] x86/mce_intel: detect and enable LMCE on Intel host

2017-03-30 Thread Haozhong Zhang
Enable LMCE if it's supported by the host CPU. If Xen boot parameter "mce_fb = 1" is present, LMCE will be disabled forcibly. Signed-off-by: Haozhong Zhang Reviewed-by: Jan Beulich --- Cc: Jan Beulich Cc: Andrew Cooper

[Xen-devel] [PATCH v3 1/9] x86/mce: handle LMCE locally

2017-03-30 Thread Haozhong Zhang
LMCE is sent to only one CPU thread, so MCE handler, barriers and softirq handler should go without waiting for other CPUs, when handling LMCE. Note LMCE is still broadcast to all vcpus as regular MCE on Intel CPU right now. Signed-off-by: Haozhong Zhang --- Cc: Jan

[Xen-devel] [PATCH v3 8/9] tools/libxc: add support of injecting MC# to specified CPUs

2017-03-30 Thread Haozhong Zhang
Though XEN_MC_inject_v2 allows injecting MC# to specified CPUs, the current xc_mca_op() does not use this feature and not provide an interface to callers. This commit add a new xc_mca_op_inject_v2() that receives a cpumap providing the set of target CPUs. Signed-off-by: Haozhong Zhang

[Xen-devel] [PATCH v3 3/9] x86/vmx: expose LMCE feature via guest MSR_IA32_FEATURE_CONTROL

2017-03-30 Thread Haozhong Zhang
If MCG_LMCE_P is present in guest MSR_IA32_MCG_CAP, then set LMCE and LOCK bits in guest MSR_IA32_FEATURE_CONTROL. Intel SDM requires those bits are set before SW can enable LMCE. Signed-off-by: Haozhong Zhang --- Cc: Jan Beulich Cc: Andrew Cooper

[Xen-devel] [PATCH v3 9/9] tools/xen-mceinj: add support of injecting LMCE

2017-03-30 Thread Haozhong Zhang
If option '-l' or '--lmce' is specified and the host supports LMCE, xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c' is not present). Signed-off-by: Haozhong Zhang Acked-by: Wei Liu --- Cc: Ian Jackson

[Xen-devel] [PATCH v3 5/9] x86/vmce: enable injecting LMCE to guest on Intel host

2017-03-30 Thread Haozhong Zhang
Inject LMCE to guest if the host MCE is LMCE and the affected vcpu is known. Otherwise, broadcast MCE to all vcpus on Intel host. Signed-off-by: Haozhong Zhang --- Cc: Jan Beulich Cc: Andrew Cooper Changes in v3: *

[Xen-devel] [PATCH v3 7/9] xen/mce: add support of vLMCE injection to XEN_MC_inject_v2

2017-03-30 Thread Haozhong Zhang
Signed-off-by: Haozhong Zhang --- Cc: Jan Beulich Cc: Andrew Cooper Changes in v3: * Add a check to avoid XEN_MC_INJECT_CPU_BROADCAST being used with XEN_MC_INJECT_TYPE_LMCE. --- xen/arch/x86/cpu/mcheck/mce.c

[Xen-devel] [seabios test] 106986: tolerable FAIL - PUSHED

2017-03-30 Thread osstest service owner
flight 106986 seabios real [real] http://logs.test-lab.xenproject.org/osstest/logs/106986/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop fail like 106637

Re: [Xen-devel] [PATCH RFC 08/20] libxl/migration: add precopy tuning parameters

2017-03-30 Thread Joshua Otto
On Wed, Mar 29, 2017 at 10:08:02PM +0100, Andrew Cooper wrote: > On 27/03/17 10:06, Joshua Otto wrote: > > In the context of the live migration algorithm, the precopy iteration > > count refers to the number of page-copying iterations performed prior to > > the suspension of the guest and

<    1   2   3