Re: [Xen-devel] Poor network performance between DomU with multiqueue support

2015-02-27 Thread openlui
At 2015-02-27 18:59:52, Wei Liu wei.l...@citrix.com wrote: Cc'ing David (XenServer kernel maintainer) On Fri, Feb 27, 2015 at 05:21:11PM +0800, openlui wrote: On Mon, Dec 08, 2014 at 01:08:18PM +, Zhangleiqiang (Trump) wrote: On Mon, Dec 08, 2014 at 06:44:26AM +, Zhangleiqiang (Trump)

[Xen-devel] [qemu-upstream-unstable test] 35474: regressions - FAIL

2015-02-27 Thread xen . org
flight 35474 qemu-upstream-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35474/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-rhel6hvm-amd 6 leak-check/basis(6) running in 34247 [st=running!]

[Xen-devel] [xen-4.5-testing test] 35450: trouble: broken/fail/pass

2015-02-27 Thread xen . org
flight 35450 xen-4.5-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35450/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken in 35097 REGR. vs.

Re: [Xen-devel] Poor network performance between DomU with multiqueue support

2015-02-27 Thread openlui
At 2015-02-27 19:30:20, David Vrabel david.vra...@citrix.com wrote: On 27/02/15 10:59, Wei Liu wrote: Persistent grant is not silver bullet. There is email thread on the list discussing whether it should be removed in block driver. Persistent grants for to-guest network traffic is a flawed

[Xen-devel] [PATCH v7 0/3] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
This set of patches add Xen support for hip04-d01 platform (see https://wiki.linaro.org/Boards/D01 for details). Changes from v6: - collapsed some patch (Julien Grall); - remove useless check for irq values; - test interrupt controller not using DT compatibility; - remove non standard drivers

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-02-27 Thread Dario Faggioli
On Fri, 2015-02-27 at 10:50 +, Jan Beulich wrote: On 27.02.15 at 11:04, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 08:46 +, Jan Beulich wrote: This way behavior doesn't change if internally in the hypervisor we need to change the mapping from PXMs to node IDs. Ok,

[Xen-devel] [PATCH v2 3/4] xen: sched: make counters for vCPU tickling generic

2015-02-27 Thread Dario Faggioli
and update them from Credit2 and RTDS schedulers. Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: Meng Xu xumengpa...@gmail.com Cc: George Dunlap george.dun...@eu.citrix.com Cc: Jan Beulich jbeul...@suse.com Cc: Keir Fraser k...@xen.org Reviewed-by: Meng Xu men...@cis.upenn.edu

[Xen-devel] [PATCH v2 4/4] xen: credit2: add a few performance counters

2015-02-27 Thread Dario Faggioli
for events that are specific to Credit2 (as it happens for Credit1 already). Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: George Dunlap george.dun...@eu.citrix.com Cc: Jan Beulich jbeul...@suse.com Cc: Keir Fraser k...@xen.org Acked-by: Jan Beulich jbeul...@suse.com --- Changes

Re: [Xen-devel] [PATCH 3/3] mini-os: sort objects in binary archives

2015-02-27 Thread Ian Campbell
On Wed, 2015-02-11 at 11:37 +, Wei Liu wrote: Otherwise we can commence splitting off and then apply this patch to the split-off mini-os tree. mini-os has just been split off, minus this patch. I intend to let the push gate process that split (hopefully the gate will pass over the w/e) and

Re: [Xen-devel] [PATCH v3 0/8] Split off mini-os to a separate tree

2015-02-27 Thread Ian Campbell
On Wed, 2015-02-25 at 11:21 +, Wei Liu wrote: This is v3 of my mini-os splitting off patch series. As xen@xenbits I ran: $ mkdir ~/git/mini-os.git $ cd ~/git/mini-os.git $ git init --bare Initialized empty Git repository in /home/xen/git/mini-os.git/ $

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Jan Beulich
On 27.02.15 at 16:24, ian.campb...@citrix.com wrote: On Fri, 2015-02-27 at 14:54 +, Stefano Stabellini wrote: MMCFG is a Linux config option, not to be confused with PHYSDEVOP_pci_mmcfg_reserved that is a Xen hypercall interface. I don't think that the way Linux (or FreeBSD) call

[Xen-devel] [PATCH v2 1/4] xen: sched: honour generic perf conuters in the RTDS scheduler

2015-02-27 Thread Dario Faggioli
more specifically, about vCPU initialization and destruction events, in line with adb26c09f26e (xen: sched: introduce a couple of counters in credit2 and SEDF). Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: George Dunlap george.dun...@eu.citrix.com Cc: Meng Xu xumengpa...@gmail.com

[Xen-devel] [PATCH v2 0/4] xen: sched: rework and add performance counters

2015-02-27 Thread Dario Faggioli
Take 2 of this: http://lists.xen.org/archives/html/xen-devel/2015-02/msg03249.html I've made all the changes suggested during v1. The series has Meng's Reviewed-by for the changes to sched_rt.c, and Jan's Ack for the non-strictly scheduling related part (1 file! :-D), so I think what is

[Xen-devel] [PATCH v2 2/4] xen: sched: make counters for vCPU sleep and wakeup generic

2015-02-27 Thread Dario Faggioli
and update them from Credit2 and RTDS. In Credit2, while there, remove some stale comments too. Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: George Dunlap george.dun...@eu.citrix.com Cc: Meng Xu men...@cis.upenn.edu Cc: Jan Beulich jbeul...@suse.com Cc: Keir Fraser k...@xen.org

Re: [Xen-devel] [PATCH v6 02/23] xen: move NUMA_NO_NODE to public memory.h as XEN_NUMA_NO_NODE

2015-02-27 Thread Andrew Cooper
On 27/02/15 16:51, Wei Liu wrote: On Fri, Feb 27, 2015 at 04:42:42PM +, Jan Beulich wrote: On 26.02.15 at 16:55, wei.l...@citrix.com wrote: Update NUMA_NO_NODE in Xen code to use the new macro. No functional change introduced. But also no explanation given why this is being done. After

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Stefano Stabellini
On Fri, 27 Feb 2015, Ian Campbell wrote: On Fri, 2015-02-27 at 16:35 +, Jan Beulich wrote: On 27.02.15 at 16:24, ian.campb...@citrix.com wrote: On Fri, 2015-02-27 at 14:54 +, Stefano Stabellini wrote: MMCFG is a Linux config option, not to be confused with

Re: [Xen-devel] [PATCH] MAINTAINERS: Add OVMF maintainers.

2015-02-27 Thread Wei Liu
On Fri, Feb 27, 2015 at 04:49:18PM +, Anthony PERARD wrote: Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Wei Liu wei.l...@citrix.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3bbac9e..e94a763 100644

Re: [Xen-devel] [PATCH v6 02/23] xen: move NUMA_NO_NODE to public memory.h as XEN_NUMA_NO_NODE

2015-02-27 Thread Wei Liu
On Fri, Feb 27, 2015 at 04:42:42PM +, Jan Beulich wrote: On 26.02.15 at 16:55, wei.l...@citrix.com wrote: Update NUMA_NO_NODE in Xen code to use the new macro. No functional change introduced. But also no explanation given why this is being done. After all just leaving out the

Re: [Xen-devel] [PATCH v6 02/23] xen: move NUMA_NO_NODE to public memory.h as XEN_NUMA_NO_NODE

2015-02-27 Thread Jan Beulich
On 26.02.15 at 16:55, wei.l...@citrix.com wrote: Update NUMA_NO_NODE in Xen code to use the new macro. No functional change introduced. But also no explanation given why this is being done. After all just leaving out the explicit specification on a node in the memop flags has the effect of

[Xen-devel] [PATCH] MAINTAINERS: Add OVMF maintainers.

2015-02-27 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3bbac9e..e94a763 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -237,6 +237,12 @@ M: David Scott dave.sc...@eu.citrix.com S:

Re: [Xen-devel] [PATCH v6 03/23] xen: make two memory hypercalls vNUMA-aware

2015-02-27 Thread Jan Beulich
On 26.02.15 at 16:55, wei.l...@citrix.com wrote: Make XENMEM_increase_reservation and XENMEM_populate_physmap vNUMA-aware. That is, if guest requests Xen to allocate memory for specific vnode, Xen can translate vnode to pnode using vNUMA information of that guest. XENMEMF_vnode is

Re: [Xen-devel] [PATCH v6 03/23] xen: make two memory hypercalls vNUMA-aware

2015-02-27 Thread Wei Liu
On Fri, Feb 27, 2015 at 04:59:02PM +, Jan Beulich wrote: On 26.02.15 at 16:55, wei.l...@citrix.com wrote: Make XENMEM_increase_reservation and XENMEM_populate_physmap vNUMA-aware. That is, if guest requests Xen to allocate memory for specific vnode, Xen can translate vnode to

Re: [Xen-devel] [PATCH v3 0/8] Split off mini-os to a separate tree

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 16:37 +, Ian Campbell wrote: On Wed, 2015-02-25 at 11:21 +, Wei Liu wrote: This is v3 of my mini-os splitting off patch series. As xen@xenbits I ran: $ mkdir ~/git/mini-os.git $ cd ~/git/mini-os.git $ git init --bare

Re: [Xen-devel] Regression, host crash with 4.5rc1

2015-02-27 Thread Dugger, Donald D
Len (CC'd on this email) is our power expert who has some ideas on this issue, I'll let him explain further. -- Don Dugger Censeo Toto nos in Kansa esse decisse. - D. Gale Ph: 303/443-3786 -Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, November 27, 2014

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Luis R. Rodriguez
On Fri, Feb 27, 2015 at 6:30 AM, Juergen Gross jgr...@suse.com wrote: On 02/27/2015 02:38 PM, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/27/2015 01:24 PM, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/27/2015 11:11 AM, Stefano

[Xen-devel] [PATCH v7 2/3] xen/arm: Make gic-v2 code handle hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
The GIC in this platform is mainly compatible with the standard GICv2 beside: - ITARGET is extended to 16 bit to support 16 CPUs; - SGI mask is extended to support 16 CPUs; - maximum supported interrupt is 510; - GICH APR and LR register offsets. Signed-off-by: Frediano Ziglio

[Xen-devel] [PATCH v7 1/3] xen/arm: Duplicate gic-v2.c file to support hip04 platform version

2015-02-27 Thread Frediano Ziglio
HiSilison Hip04 platform use a slightly different version. This is just a verbatim copy of the file to workaround git not fully supporting copy operation. Signed-off-by: Frediano Ziglio frediano.zig...@huawei.com --- xen/arch/arm/gic-hip04.c | 803 +++

[Xen-devel] Pygrub backports

2015-02-27 Thread Ian Jackson
I think the following commits from master should be considered for backport: 0c12e5b7427b4dfd2dfabf21f6b0e6e24bc8e864 tools/pygrub: Fix extlinux when /boot is a separate partition from / d1b93ea2615bd789ee28901f1f1c05ffb319cb61 tools/pygrub: Make pygrub understand default entry in string format

Re: [Xen-devel] [PATCH 3/5] x86: widen NUMA nodes to be allocated from

2015-02-27 Thread Dario Faggioli
On Fri, 2015-02-27 at 13:36 +, Jan Beulich wrote: On 27.02.15 at 14:27, dario.faggi...@citrix.com wrote: I'm asking because I really don't like vcpu_to_node(). And I'm not talking about how it is implemented (there probably are not much alternatives), I'm saying I don't think it

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 14:33 +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Ian Campbell wrote: On Thu, 2015-02-26 at 15:39 +0530, Manish Jaggi wrote: Have you reached a conclusion? My current thinking on how PCI for Xen on ARM should look is thus: xen/arch/arm/pci.c:

Re: [Xen-devel] Pygrub backports

2015-02-27 Thread Ian Jackson
Jan Beulich writes (Re: Pygrub backports): On 27.02.15 at 13:29, ian.jack...@eu.citrix.com wrote: I think the following commits from master should be considered for backport: Looks reasonable. Question is - do you still want this for 4.4.2 or only afterwards? If for it, then can these

Re: [Xen-devel] [PATCH] x86/Dom0: account for shadow/HAP allocation

2015-02-27 Thread Andrew Cooper
On 27/02/15 13:21, Jan Beulich wrote: On 27.02.15 at 13:02, andrew.coop...@citrix.com wrote: On 26/02/15 07:43, Jan Beulich wrote: On 25.02.15 at 18:06, andrew.coop...@citrix.com wrote: On 25/02/15 14:45, Jan Beulich wrote: +static unsigned long __init dom0_paging_pages(const struct domain

Re: [Xen-devel] [PATCH 3/4] xen: sched: make counters for vCPU tickling generic

2015-02-27 Thread Meng Xu
2015-02-27 5:53 GMT-05:00 Dario Faggioli dario.faggi...@citrix.com: On Fri, 2015-02-27 at 00:47 -0500, Meng Xu wrote: 2015-02-26 8:37 GMT-05:00 Dario Faggioli dario.faggi...@citrix.com: and update them from Credit2 and RTDS schedulers. Signed-off-by: Dario Faggioli

Re: [Xen-devel] [PATCH v3 08/24] xen/arm: Allow virq != irq

2015-02-27 Thread Julien Grall
Hi Ian, On 20/02/15 15:52, Ian Campbell wrote: As DOM0 will get most the devices, the vIRQ is equal to the IRQ in that case. Am I correct that after this patch all callers still pass irq==virq to the new function? Sorry, I forgot to answer to this question. Yes, all the callers will pass

Re: [Xen-devel] [PATCH] xen/arm: Handle translated addresses for hardware domains in GICv2

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 13:53 +, Julien Grall wrote: Hi Frediano, On 25/02/15 13:21, Frediano Ziglio wrote: Translated addresses (in d-arch.vgic.{c,d}base) are now bus addresses which could not always be applied to the DT. Copy the original addresses from DT directly to get the

Re: [Xen-devel] [PATCH 3/5] x86: widen NUMA nodes to be allocated from

2015-02-27 Thread Dario Faggioli
On Fri, 2015-02-27 at 13:46 +, Ian Campbell wrote: On Fri, 2015-02-27 at 13:27 +, Dario Faggioli wrote: After this series, vcpu_to_node() (defined in xen/include/xen/numa.h) is left with only one use, in xen/arch/arm/domain.c, besides of course being used to implement

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Stefano Stabellini
On Thu, 26 Feb 2015, Ian Campbell wrote: On Thu, 2015-02-26 at 15:39 +0530, Manish Jaggi wrote: Have you reached a conclusion? My current thinking on how PCI for Xen on ARM should look is thus: xen/arch/arm/pci.c: New file, containing core PCI infrastructure for ARM. Includes:

[Xen-devel] [PATCH v7 3/3] xen/arm: Force dom0 to use normal GICv2 driver on Hip04 platform

2015-02-27 Thread Frediano Ziglio
Until vGIC support is not implemented and tested, this will prevent guest kernels to use their Hip04 driver, or crash when they don't have any. Signed-off-by: Frediano Ziglio frediano.zig...@huawei.com --- xen/arch/arm/gic-hip04.c | 18 +++--- 1 file changed, 11 insertions(+), 7

Re: [Xen-devel] [PATCH] xen: correct bug in p2m list initialization

2015-02-27 Thread David Vrabel
On 27/02/15 14:45, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced an error. During initialization of the p2m list a p2m identity area mapped by a complete identity pmd entry has to be split up into

Re: [Xen-devel] Pygrub backports

2015-02-27 Thread Ian Jackson
Ian Campbell writes (Re: Pygrub backports): Sounds good. If we could also get an example of the problematic grub.cfg to be checked into xen.git/tools/pygrub/examples that would be handy too. I have asked the reporter for a (suitably-laundered) copy and some info about how it was generated.

Re: [Xen-devel] [PATCH v3 08/24] xen/arm: Allow virq != irq

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 14:33 +, Julien Grall wrote: Hi Ian, On 20/02/15 17:09, Julien Grall wrote: On 20/02/15 15:52, Ian Campbell wrote: action = xmalloc(struct irqaction); -if (!action) +if ( !action ) +return -ENOMEM; + +info = xmalloc(struct

Re: [Xen-devel] [PATCH 3/5] x86: widen NUMA nodes to be allocated from

2015-02-27 Thread Dario Faggioli
On Fri, 2015-02-27 at 13:38 +, Julien Grall wrote: Signed-off-by: Jan Beulich jbeul...@suse.com Reviewed-by: Dario Faggioli dario.faggi...@citrix.com One question (a genuine one, i.e., I'm really not sure what I'm saying is correct). After this series, vcpu_to_node()

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Konrad Rzeszutek Wilk
This is not meant to be a performance improvement. It is meant to enable a standard distro kernel configured without PARAVIRT to be able to run as a HVM guest using the pv-drivers. This is not a convincing explanation. Debian, Ubuntu and Fedora seems to be able to cope with it just

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Konrad Rzeszutek Wilk
On Fri, Feb 27, 2015 at 09:53:46AM -0800, Luis R. Rodriguez wrote: On Fri, Feb 27, 2015 at 6:30 AM, Juergen Gross jgr...@suse.com wrote: On 02/27/2015 02:38 PM, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/27/2015 01:24 PM, Stefano Stabellini wrote: On

[Xen-devel] [PATCH v5] tools/xenconsoled: Increase file descriptor limit

2015-02-27 Thread Andrew Cooper
XenServer's VM density testing uncovered a regression when moving from sysvinit to systemd where the file descriptor limit dropped from 4096 to 1024. (XenServer had previously inserted a ulimit statement into its initscripts.) One solution is to use LimitNOFILE=4096 in xenconsoled.service to

Re: [Xen-devel] [PATCH v5] tools/xenconsoled: Increase file descriptor limit

2015-02-27 Thread Ian Jackson
Andrew Cooper writes ([PATCH v5] tools/xenconsoled: Increase file descriptor limit): XenServer's VM density testing uncovered a regression when moving from sysvinit to systemd where the file descriptor limit dropped from 4096 to 1024. (XenServer had previously inserted a ulimit statement into

Re: [Xen-devel] Regression, host crash with 4.5rc1

2015-02-27 Thread Brown, Len
(Please forgive my lack of Xen-fu knowledge in advance) If this issue were to happen on Linux/bare-metal, this is how I'd debug it. Hopefully some of this will translate to Xen in one way or another. dmesg | grep idle will tell us what idle driver is running (on Dom0 kernel) and if it is

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Mike Latimer
On Friday, February 27, 2015 08:28:49 AM Mike Latimer wrote: On Friday, February 27, 2015 10:52:17 AM Stefano Stabellini wrote: On Thu, 26 Feb 2015, Mike Latimer wrote: libxl_set_memory_target = 1 The new memory target is set for dom0 successfully. libxl_wait_for_free_memory

Re: [Xen-devel] [xen-unstable test] 35257: regressions - FAIL

2015-02-27 Thread Jim Fehlig
Ian Campbell wrote: On Thu, 2015-02-26 at 20:14 +, xen.org wrote: flight 35257 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35257/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run:

Re: [Xen-devel] [PATCH 2/4] xen: sched: make counters for vCPU sleep and wakeup generic

2015-02-27 Thread Meng Xu
[I see the reason why I neglected this patch: my gmail just filter it into the Forum category and I didn't see it. :-) Dario, Do you have any suggestion of the email client (maybe the one you guys are using)? ] 2015-02-26 8:37 GMT-05:00 Dario Faggioli dario.faggi...@citrix.com: and update them

Re: [Xen-devel] [PATCH v3 0/8] Split off mini-os to a separate tree

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 14:58 +, Wei Liu wrote: On Fri, Feb 27, 2015 at 02:46:58PM +, Ian Campbell wrote: On Fri, 2015-02-27 at 13:50 +, Wei Liu wrote: On Fri, Feb 27, 2015 at 01:38:58PM +, Ian Campbell wrote: On Wed, 2015-02-25 at 11:21 +, Wei Liu wrote:

Re: [Xen-devel] [PATCH v6 23/23] xl: vNUMA support

2015-02-27 Thread Dario Faggioli
On Thu, 2015-02-26 at 15:56 +, Wei Liu wrote: This patch includes configuration options parser and documentation. Please find the hunk to xl.cfg.pod.5 for more information. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson

Re: [Xen-devel] [PATCH v4] tools/xenconsoled: Increase file descriptor limit

2015-02-27 Thread Ian Jackson
Andrew Cooper writes ([PATCH v4] tools/xenconsoled: Increase file descriptor limit): XenServer's VM density testing uncovered a regression when moving from sysvinit to systemd where the file descriptor limit dropped from 4096 to 1024. (XenServer had previously inserted a ulimit statement into

Re: [Xen-devel] [PATCH v3 0/8] Split off mini-os to a separate tree

2015-02-27 Thread Wei Liu
On Fri, Feb 27, 2015 at 02:46:58PM +, Ian Campbell wrote: On Fri, 2015-02-27 at 13:50 +, Wei Liu wrote: On Fri, Feb 27, 2015 at 01:38:58PM +, Ian Campbell wrote: On Wed, 2015-02-25 at 11:21 +, Wei Liu wrote: git://xenbits.xen.org/people/liuw/xen.git wip.build-system-v3

[Xen-devel] [PATCH] xen: credit2: use curr_on_cpu(cpu) in place of `per_cpu(s, c).curr'

2015-02-27 Thread Dario Faggioli
as 0bba5747f4bee4ddd (xen: sched_credit: define and use curr_on_cpu(cpu)) did for Credit1, hence making the code more consistent and easier to read. Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: George Dunlap george.dun...@eu.citrix.com Cc: Jan Beulich jbeul...@suse.com Cc: Keir

Re: [Xen-devel] [PATCH v6 0/5] xen/arm: Add support for Huawei hip04-d01 platform

2015-02-27 Thread Frediano Ziglio
2015-02-26 13:24 GMT+00:00 Julien Grall julien.gr...@linaro.org: Hi Frediano, On 26/02/15 12:40, Frediano Ziglio wrote: xen/arm: Make gic-v2 code handle hip04-d01 platform xen/arm: handle GICH register changes for hip04-d01 platform xen/arm: Force dom0 to use normal GICv2 driver on

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-02-27 Thread Jan Beulich
On 27.02.15 at 15:54, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 10:50 +, Jan Beulich wrote: On 27.02.15 at 11:04, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 08:46 +, Jan Beulich wrote: I'm simply adjusting what sched_init_vcpu() did, which is alter hard

Re: [Xen-devel] [xen-unstable test] 35257: regressions - FAIL

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 11:51 -0700, Jim Fehlig wrote: 2015-02-23 20:13:15.845+: 2133: error : virFirewallValidateBackend:193 : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory Odd, since ebtables was found when building checking for

Re: [Xen-devel] [xen-unstable test] 35257: regressions - FAIL

2015-02-27 Thread Jim Fehlig
Ian Campbell wrote: On Fri, 2015-02-27 at 10:48 +, Wei Liu wrote: On Fri, Feb 27, 2015 at 09:42:29AM +, Ian Campbell wrote: On Thu, 2015-02-26 at 20:14 +, xen.org wrote: flight 35257 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35257/

[Xen-devel] [PATCH] xen/pciback: Don't print scary messages when unsupported by hypervisor.

2015-02-27 Thread Konrad Rzeszutek Wilk
We print at the warninig level messages such as: pciback :90:00.5: MSI-X preparation failed (-38) which is due to the hypervisor not supporting this sub-hypercall (which was added in Xen 4.3). Instead of having scary messages all the time - only have it when the hypercall is actually

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Luis R. Rodriguez
On Fri, Feb 27, 2015 at 07:14:32AM +0100, Juergen Gross wrote: On 02/26/2015 07:48 PM, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 05:42:57PM +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 11:08:20AM +, Stefano Stabellini wrote:

[Xen-devel] [PATCH] xen, apic: Setup our own APIC driver and validator for APIC IDs.

2015-02-27 Thread Konrad Rzeszutek Wilk
Via CPUID masking and the different apic- overrides we effectively make PV guests only but with the default APIC driver. That is OK as an PV guest should never access any APIC registers. However, the APIC is also used to limit the amount of CPUs if the APIC IDs are incorrect - and since we mask

[Xen-devel] Regression due to d9581c7dcac15c02ad4d47c60c60f4d8f197db55 en/fb: allow xenfb initialization for hvm guest

2015-02-27 Thread Konrad Rzeszutek Wilk
This has been in queue for some time. In our kernels (UEK3) we had to revert said patch. The patch says: xen/fb: allow xenfb initialization for hvm guests There is no reasons why an HVM guest shouldn't be allowed to use xenfb. As a matter of fact ARM guests, HVM from Linux POV, can

Re: [Xen-devel] libxl__device_pci_reset() questions

2015-02-27 Thread Konrad Rzeszutek Wilk
On Thu, Feb 26, 2015 at 02:28:34PM +, Jan Beulich wrote: On 19.02.15 at 15:30, ian.campb...@citrix.com wrote: On Thu, 2015-02-19 at 13:59 +, Jan Beulich wrote: All, in the context of someone seeing The kernel doesn't support reset from sysfs for PCI device, is my understanding

Re: [Xen-devel] [OSSTEST PATCH 3/8] emails: honour OSSTEST_EMAIL_SUBJECT_PREFIX

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 17:44 +, Ian Jackson wrote: Ian Campbell writes (Re: [OSSTEST PATCH 3/8] emails: honour OSSTEST_EMAIL_SUBJECT_PREFIX): On Wed, 2015-02-25 at 13:01 +, Ian Jackson wrote: This is prefixed before the other computed prefixes. It makes it easier to distinguish

Re: [Xen-devel] Poor network performance between DomU with multiqueue support

2015-02-27 Thread openlui
On Mon, Dec 08, 2014 at 01:08:18PM +, Zhangleiqiang (Trump) wrote: On Mon, Dec 08, 2014 at 06:44:26AM +, Zhangleiqiang (Trump) wrote: On Fri, Dec 05, 2014 at 01:17:16AM +, Zhangleiqiang (Trump) wrote: [...] I think that's expected, because guest RX data path still

Re: [Xen-devel] [PATCH v3] RFC: Automatically check xen's public headers for C++ pitfalls.

2015-02-27 Thread Jan Beulich
On 27.02.15 at 10:22, t...@xen.org wrote: At 08:36 + on 27 Feb (1425022578), Jan Beulich wrote: On 26.02.15 at 17:24, t...@xen.org wrote: +PUBLIC_ANSI_HEADERS := $(filter-out public/%ctl.h public/xsm/% public/%hvm/save.h, $(PUBLIC_HEADERS)) + +headers.chk: $(PUBLIC_ANSI_HEADERS)

Re: [Xen-devel] [OSSTEST PATCH 9/8] README.dev: Runes for adhoc testing in the production environment

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 17:53 +, Ian Jackson wrote: Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Looks good, Acked-by: Ian Campbell ian.campb...@citrix.com --- README.dev | 18 ++ 1 file changed, 18 insertions(+) diff --git a/README.dev b/README.dev index

Re: [Xen-devel] [PATCH v2 3/3] xen/arm: allow console=hvc0 to be omitted for guests

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 18:22 +, Stefano Stabellini wrote: On Wed, 18 Feb 2015, Ian Campbell wrote: On Wed, 2015-02-18 at 09:50 -0600, Rob Herring wrote: On Wed, Feb 18, 2015 at 7:51 AM, Julien Grall julien.gr...@linaro.org wrote: From: Ard Biesheuvel ard.biesheu...@linaro.org

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Stefano Stabellini
On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/26/2015 06:42 PM, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 11:08:20AM +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, David Vrabel wrote: On 26/02/15 04:59, Juergen Gross

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-02-27 Thread Jan Beulich
On 26.02.15 at 18:14, dario.faggi...@citrix.com wrote: On Thu, 2015-02-26 at 13:52 +, Jan Beulich wrote: +### dom0\_nodes + + `= integer[,...]` + +Specify the NUMA nodes to place Dom0 on. Defaults for vCPU-s created +and memory assigned to Dom0 will be adjusted to match the node

Re: [Xen-devel] [PATCH v3] RFC: Automatically check xen's public headers for C++ pitfalls.

2015-02-27 Thread Tim Deegan
At 08:36 + on 27 Feb (1425022578), Jan Beulich wrote: On 26.02.15 at 17:24, t...@xen.org wrote: +PUBLIC_ANSI_HEADERS := $(filter-out public/%ctl.h public/xsm/% public/%hvm/save.h, $(PUBLIC_HEADERS)) + +headers.chk: $(PUBLIC_ANSI_HEADERS) Makefile + for i in $(filter %.h,$^); do

Re: [Xen-devel] [xen-unstable test] 35257: regressions - FAIL

2015-02-27 Thread Wei Liu
On Fri, Feb 27, 2015 at 09:42:29AM +, Ian Campbell wrote: On Thu, 2015-02-26 at 20:14 +, xen.org wrote: flight 35257 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35257/ Regressions :-( Tests which did not succeed and are blocking, including

Re: [Xen-devel] [PATCH 1/5] x86: allow specifying the NUMA nodes Dom0 should run on

2015-02-27 Thread Jan Beulich
On 27.02.15 at 11:04, dario.faggi...@citrix.com wrote: On Fri, 2015-02-27 at 08:46 +, Jan Beulich wrote: On 26.02.15 at 18:14, dario.faggi...@citrix.com wrote: On Thu, 2015-02-26 at 13:52 +, Jan Beulich wrote: +### dom0\_nodes + + `= integer[,...]` + +Specify the NUMA nodes

Re: [Xen-devel] [PATCH 3/4] xen: sched: make counters for vCPU tickling generic

2015-02-27 Thread Dario Faggioli
On Fri, 2015-02-27 at 00:47 -0500, Meng Xu wrote: 2015-02-26 8:37 GMT-05:00 Dario Faggioli dario.faggi...@citrix.com: and update them from Credit2 and RTDS schedulers. Signed-off-by: Dario Faggioli dario.faggi...@citrix.com Cc: Meng Xu xumengpa...@gmail.com

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Stefano Stabellini
On Thu, 26 Feb 2015, Mike Latimer wrote: On Thursday, February 26, 2015 01:45:16 PM Mike Latimer wrote: On Thursday, February 26, 2015 05:53:06 PM Stefano Stabellini wrote: What is the return value of libxl_set_memory_target and libxl_wait_for_free_memory in that case? Isn't it just a

Re: [Xen-devel] Poor network performance between DomU with multiqueue support

2015-02-27 Thread Wei Liu
Cc'ing David (XenServer kernel maintainer) On Fri, Feb 27, 2015 at 05:21:11PM +0800, openlui wrote: On Mon, Dec 08, 2014 at 01:08:18PM +, Zhangleiqiang (Trump) wrote: On Mon, Dec 08, 2014 at 06:44:26AM +, Zhangleiqiang (Trump) wrote: On Fri, Dec 05, 2014 at 01:17:16AM +,

Re: [Xen-devel] [Qemu-devel] [v2][PATCH] libxl: add one machine property to support IGD GFX passthrough

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 14:28 +0800, Chen, Tiejun wrote: On 2015/2/27 0:17, Ian Campbell wrote: On Thu, 2015-02-26 at 14:35 +0800, Chen, Tiejun wrote: If we are going to do this then I think we need to arrange for the interface to be able to express the need to force the workarounds for a

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Stefano Stabellini
On Fri, 27 Feb 2015, Ian Campbell wrote: On Thu, 2015-02-26 at 13:38 -0700, Mike Latimer wrote: (Sorry for the delayed response, dealing with ENOTIME.) On Thursday, February 26, 2015 05:47:21 PM Ian Campbell wrote: On Thu, 2015-02-26 at 10:38 -0700, Mike Latimer wrote: rc =

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Mike Latimer
On Friday, February 27, 2015 11:29:12 AM Mike Latimer wrote: On Friday, February 27, 2015 08:28:49 AM Mike Latimer wrote: After adding 2048aeec, dom0's target is lowered by the required amount (e.g. 64GB), but as dom0 cannot balloon down fast enough, libxl_wait_for_memory_target returns -5,

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Juergen Gross
On 02/27/2015 10:41 AM, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/26/2015 06:42 PM, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 11:08:20AM +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, David Vrabel

Re: [Xen-devel] [PATCH v3] RFC: Automatically check xen's public headers for C++ pitfalls.

2015-02-27 Thread Tim Deegan
At 15:28 -0500 on 26 Feb (1424960919), Don Slutz wrote: On 02/26/15 11:24, Tim Deegan wrote: Explicitly _not_ addressing the use of 'private' in various fields, since we'd previously decided not to fix that. This sentence and the -Dprivate=private_is_a_keyword_in_cpp below appear to be at

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 19:48 +0100, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 05:42:57PM +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 11:08:20AM +, Stefano Stabellini wrote: On Thu, 26 Feb 2015, David Vrabel wrote:

Re: [Xen-devel] [PATCH] VT-d: print_vtd_entries() should cope with superpages

2015-02-27 Thread Roger Pau Monné
El 27/02/15 a les 10.52, Jan Beulich ha escrit: Even if VT-d code alone (i.e. when not sharing tables with EPT) still doesn't support superpages, this function - invoked upon DMA remapping faults - needs to cope with such. While at it also replace a few more plain numbers with suitable named

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Stefano Stabellini
On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/27/2015 10:41 AM, Stefano Stabellini wrote: On Fri, 27 Feb 2015, Juergen Gross wrote: On 02/26/2015 06:42 PM, Stefano Stabellini wrote: On Thu, 26 Feb 2015, Luis R. Rodriguez wrote: On Thu, Feb 26, 2015 at 11:08:20AM +, Stefano

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 13:38 -0700, Mike Latimer wrote: (Sorry for the delayed response, dealing with ENOTIME.) On Thursday, February 26, 2015 05:47:21 PM Ian Campbell wrote: On Thu, 2015-02-26 at 10:38 -0700, Mike Latimer wrote: rc = libxl_set_memory_target(ctx, 0, free_memkb -

Re: [Xen-devel] RFC: xen config changes v4

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 10:11 +, Stefano Stabellini wrote: (for some reason I initially thought this was in reply to my mail, so it's written in a way which assumes that, so sprinkle IMHO around the place and/or take it as a follow on to my previous mail in this thread, I guess) This is not a

Re: [Xen-devel] [PATCH] correct mis-conversion set_bit() - __cpumask_set_cpu() by 4aaca0e9cd

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 07:33 +, Jan Beulich wrote: On 26.02.15 at 17:53, li...@eikelenboom.it wrote: Monday, February 23, 2015, 12:06:00 PM, you wrote: I have no idea how I came to use __cpumask_set_cpu() there, the conversion should have been set_bit() - __set_bit(). The wrong

Re: [Xen-devel] [PATCH] xen/iommu: fix usage of shared EPT/IOMMU page tables on PVH guests

2015-02-27 Thread Jan Beulich
On 27.02.15 at 11:10, roger@citrix.com wrote: iommu_share_p2m_table should not prevent PVH guests from using a shared page table. Change the condition to has_hvm_container_domain instead of is_hvm_domain. This allows both PVH and HVM guests to use it. Remove the asserts in iommu_set_pgd

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 15:41 +0530, Pranavkumar Sawargaonkar wrote: Hi Julien, On Thu, Feb 26, 2015 at 8:47 PM, Julien Grall julien.gr...@linaro.org wrote: On 26/02/15 14:46, Pranavkumar Sawargaonkar wrote: Hi Hi Pranavkumar, Also if we just show only one vITS (or only one Virtual

[Xen-devel] [PATCH] VT-d: print_vtd_entries() should cope with superpages

2015-02-27 Thread Jan Beulich
Even if VT-d code alone (i.e. when not sharing tables with EPT) still doesn't support superpages, this function - invoked upon DMA remapping faults - needs to cope with such. While at it also replace a few more plain numbers with suitable named constants. Signed-off-by: Jan Beulich

Re: [Xen-devel] [PATCH 0/5] (not just)x86/Dom0: NUMA related adjustments

2015-02-27 Thread Dario Faggioli
[adding Wei, as he may be interested, for his vNUMA work] On Thu, 2015-02-26 at 13:44 +, Jan Beulich wrote: 1: x86: allow specifying the NUMA nodes Dom0 should run on 2: allow domain heap allocations to specify more than one NUMA node 3: x86: widen NUMA nodes to be allocated from 4: VT-d:

[Xen-devel] [PATCH] xen/iommu: fix usage of shared EPT/IOMMU page tables on PVH guests

2015-02-27 Thread Roger Pau Monne
iommu_share_p2m_table should not prevent PVH guests from using a shared page table. Change the condition to has_hvm_container_domain instead of is_hvm_domain. This allows both PVH and HVM guests to use it. Remove the asserts in iommu_set_pgd and amd_iommu_share_p2m, iommu_share_p2m_table and

Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI

2015-02-27 Thread Pranavkumar Sawargaonkar
Hi Julien, On Thu, Feb 26, 2015 at 8:47 PM, Julien Grall julien.gr...@linaro.org wrote: On 26/02/15 14:46, Pranavkumar Sawargaonkar wrote: Hi Hi Pranavkumar, Also if we just show only one vITS (or only one Virtual v2m frame) instead of two vITS then actual hardware interrupt number and

Re: [Xen-devel] freemem-slack and large memory environments

2015-02-27 Thread Ian Campbell
On Thu, 2015-02-26 at 16:30 -0700, Mike Latimer wrote: On Thursday, February 26, 2015 01:45:16 PM Mike Latimer wrote: On Thursday, February 26, 2015 05:53:06 PM Stefano Stabellini wrote: What is the return value of libxl_set_memory_target and libxl_wait_for_free_memory in that case? Isn't

Re: [Xen-devel] how to assign resources exclusive to a single domU

2015-02-27 Thread Ian Campbell
On Fri, 2015-02-27 at 09:19 +0100, Olaf Hering wrote: On Fri, Feb 27, Jürgen Groß wrote: On 02/26/2015 09:57 AM, Olaf Hering wrote: I wonder what should be done in my changes for libxl. If you are doing something, please add a flag to be able to disable the additional security checks

Re: [Xen-devel] [PATCH] VT-d: print_vtd_entries() should cope with superpages

2015-02-27 Thread Andrew Cooper
On 27/02/15 09:52, Jan Beulich wrote: Even if VT-d code alone (i.e. when not sharing tables with EPT) still doesn't support superpages, this function - invoked upon DMA remapping faults - needs to cope with such. While at it also replace a few more plain numbers with suitable named

Re: [Xen-devel] [PATCH 1/1] xen-netback: remove compilation warning

2015-02-27 Thread pmarzo
On jue, 2015-02-26 at 11:30 -0500, David Miller wrote: From: pedro marzo.pe...@gmail.com Date: Thu, 26 Feb 2015 09:25:41 +0100 From: pmarzo marzo.pe...@gmail.com offset and size are of type uint16_t so the %lu gives a warning A %u specifier, the same used in size makes gcc happy

[Xen-devel] [linux-linus test] 35443: regressions - trouble: blocked/broken/fail/pass

2015-02-27 Thread xen . org
flight 35443 linux-linus real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/35443/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 8 guest-start fail REGR. vs. 34227 build-armhf-libvirt

Re: [Xen-devel] backport c1d322e6048796296555dd36fdd102d7fa2f50bf to all stable trees

2015-02-27 Thread Stefano Stabellini
On Fri, 27 Feb 2015, Fabio Fantoni wrote: Il 26/02/2015 14:02, Stefano Stabellini ha scritto: Hi all, I would like to request a backport of commit c1d322e6048796296555dd36fdd102d7fa2f50bf Author: Stefano Stabellini stefano.stabell...@eu.citrix.com Date: Wed Dec 3 08:15:19 2014

  1   2   >