[Xen-devel] [PATCH v2] x86/physdev: remove redundant code in branch MAP_PIRQ_TYPE_MSI

2017-10-09 Thread Zhenzhong Duan
Same code is already in allocate_and_map_msi_pirq() -v2: remove unnecessory comment (Suggested by Jan and Roger) added 'x86/physdev:' tag to commit subject (Suggested by Konrad) Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> Reviewed-by: Joe Jin <joe@oracle.com&

[Xen-devel] [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI

2017-10-09 Thread Zhenzhong Duan
Same code is already in allocate_and_map_msi_pirq() Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> --- xen/arch/x86/physdev.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c index 0eb4097..aa02d18

[Xen-devel] [PATCH] xen/vcpu: Use a unified name about cpu hotplug state for pv and pvhvm

2017-10-08 Thread Zhenzhong Duan
As xen_cpuhp_setup is called by PV and PVHVM, the name of "x86/xen/hvm_guest" is confusing. Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> --- arch/x86/xen/enlighten.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/enlighten.

[Xen-devel] [PATCH v2] Call xen_cleanhighmap() with 4MB aligned for page tables mapping

2017-09-27 Thread Zhenzhong Duan
() in DEBUG mode is also removed. -v2: add comment about XEN alignment from Juergen. References: https://lists.xen.org/archives/html/xen-devel/2012-07/msg01562.html Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> --- arch/x86/xen/mmu_pv.c | 13 - 1 files chan

[Xen-devel] [PATCH] Call xen_cleanhighmap() with 4MB aligned for page tables mapping

2017-09-26 Thread Zhenzhong Duan
() in DEBUG mode is also removed. References: https://lists.xen.org/archives/html/xen-devel/2012-07/msg01562.html Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> --- arch/x86/xen/mmu_pv.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/x

Re: [Xen-devel] [PATCH] Fix cpumap setting before passing to XEN

2016-04-25 Thread Zhenzhong Duan
sn't necessarily mean that I object to changing the behaviour of the python xc module in still-supported Xen releases. But I'm not sure the reasoning behind the behaviour of the libxl bitmap functions applies to the Python interface. Zhenzhong Duan, are you using an out-of-tree copy of xm and xen

Re: [Xen-devel] [PATCH] Fix cpumap setting before passing to XEN

2016-04-17 Thread Zhenzhong Duan
On 2016/4/12 11:35, Zhenzhong Duan wrote: On 2016/4/11 19:27, Wei Liu wrote: On Mon, Apr 11, 2016 at 09:42:57AM +0800, Zhenzhong Duan wrote: It's tool's duty to pass a correct cpumap to XEN. On a host with less than 64 CPUS, it just shows below error. [root@localhost /]# xm vcpu-pin 3 all

Re: [Xen-devel] [PATCH] Fix cpumap setting before passing to XEN

2016-04-11 Thread Zhenzhong Duan
在 2016/4/11 19:27, Wei Liu 写道: On Mon, Apr 11, 2016 at 09:42:57AM +0800, Zhenzhong Duan wrote: It's tool's duty to pass a correct cpumap to XEN. On a host with less than 64 CPUS, it just shows below error. [root@localhost /]# xm vcpu-pin 3 all all Error: Cannot pin vcpu: 0 to cpu: [0, 1, 2, 3

[Xen-devel] [PATCH] Fix cpumap setting before passing to XEN

2016-04-10 Thread Zhenzhong Duan
, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] - (22, 'Invalid argument') The fix make it same as in xl code. Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com> --- tools/python/xen/lowlevel/x

Re: [Xen-devel] how to generate a smaller core with xm dump-core

2015-01-16 Thread Zhenzhong Duan
在 2015/1/16 0:16, Don Slutz 写道: On 01/15/15 05:20, Ian Campbell wrote: On Thu, 2015-01-15 at 11:31 +0800, Zhenzhong Duan wrote: Hi Maintainers, We are facing issue collecting coredump using the xm dump mechanism in Dom0. We face couple of such issues daily, where the VMs panic s and the SA

[Xen-devel] how to generate a smaller core with xm dump-core

2015-01-14 Thread Zhenzhong Duan
Hi Maintainers, We are facing issue collecting coredump using the xm dump mechanism in Dom0. We face couple of such issues daily, where the VMs panic s and the SA team is supposed to collect the core. The actual problem is that where the VMs are having huge RAM like 32+ GB RAMs dumping the