Re: [Xen-devel] [Xen-users] FW: Zir Blazer's guide to install Arch Linux and Xen - need feedback

2015-04-16 Thread Magnus Therning
On 15 April 2015 at 18:50, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-04-15 at 00:14 -0300, Zir Blazer wrote: New version of the guide. Corrected a lot of things, checked syntax, and added what I know so far of IOMMU Groups, with a deep dive in my Supermicro X10SAT topology.

[Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-16 Thread Huaitong Han
When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 C-status from the xenpm tool decreases. Because C0=NOW()-C1-C2-C3-C4, when NOW() value is during idle time, NOW() value is bigger than last C-status update time, and C0 value is also bigger than ture

Re: [Xen-devel] [PATCH] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk

2015-04-16 Thread Pranavkumar Sawargaonkar
Hi Ian, On 15 April 2015 at 21:46, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2015-04-07 at 11:29 +0100, Julien Grall wrote: This would avoid to have this loop and rely on there is always only one interrupt controller in the DT. That is true, however we do know that on this SoC

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Boris Derzhavets
Anthony , Unfortunately, I dropped instance running XEN . In a couple of days, I will reproduce environment and send /var/log/xen/xen-hotplug.log to you. Regarding Libvirt version, I also tested driver with libvirt 1.2.14 , manual build via libvirt-1.2.14.tar.gz ball and upgrade on Ubuntu

[Xen-devel] [qemu-upstream-4.5-testing test] 50419: regressions - FAIL

2015-04-16 Thread osstest service user
flight 50419 qemu-upstream-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50419/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 36517 Tests

Re: [Xen-devel] Error in gnttab documentation

2015-04-16 Thread Jan Beulich
On 15.04.15 at 21:47, o...@invisiblethingslab.com wrote: There is an erroneous statement in the public header grant_table.h regarding GNTTABOP_map_grant_ref: On error, handle is a negative status code. [1] This is not the case. Only the gnttab_map_grant_ref.status field is set on errors

Re: [Xen-devel] [PATCH v3 1/3] xen/pvh: enable mmu_update hypercall

2015-04-16 Thread Tim Deegan
At 14:10 +0100 on 14 Apr (1429020603), Andrew Cooper wrote: On 14/04/15 13:03, Roger Pau Monné wrote: El 14/04/15 a les 13.55, Jan Beulich ha escrit: On 10.04.15 at 19:29, roger@citrix.com wrote: This is needed for performing save/restore of PV guests. Signed-off-by: Roger Pau Monné

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-16 Thread George Dunlap
On 04/16/2015 10:00 AM, Ian Campbell wrote: On Wed, 2015-04-15 at 17:52 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at 05:45:15PM +0100, Ian Campbell wrote: On Wed, 2015-04-15 at 17:36 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at 03:34:48PM +0100, Ian Campbell wrote: On Tue, 2015-04-14 at

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 05:14 -0400, Boris Derzhavets wrote: Please can you not top post. Done /var/log/xen/xen-hotplug.log:- RTNETLINK answers: Device or resource busy Thank you. My usual technique for debugging these sorts of hotplug script issues is to insert near the top of

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread George Dunlap
On 04/16/2015 10:20 AM, Daniel Borkmann wrote: So mid term, it would be much more beneficial if you attempt fix the underlying driver issues that actually cause high tx completion delays, instead of reintroducing bufferbloat. So that we all can move forward and not backwards in time. Yes, I

Re: [Xen-devel] [PATCH v2 2/4] x86/MSI-X: access MSI-X table only after having enabled MSI-X

2015-04-16 Thread Jan Beulich
On 15.04.15 at 19:41, konrad.w...@oracle.com wrote: On Mon, Apr 13, 2015 at 10:05:14AM +0100, Jan Beulich wrote: You mentioning XSA-120 and its addendum - are these requirements for the problem to be seen? I admit I may have tested a PV guest only with an SR-IOV VF (and only a HVM guest also

[Xen-devel] building xen and libvirt with odd --prefix fails

2015-04-16 Thread Olaf Hering
My xen is configured with --prefix=/odd/path --enable-rpath. My libvirt is configured with env PKG_CONFIG_PATH=/odd/path/share/pkgconfig bash -x autogen.sh --without-xen --with-libxl. Now make in libvirt fails to find xen/xen.h needed by xenconfig/xen_common.c, I think it expects it in

Re: [Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-16 Thread Jan Beulich
On 16.04.15 at 08:03, huaitong@intel.com wrote: When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 C-status from the xenpm tool decreases. Because C0=NOW()-C1-C2-C3-C4, when NOW() value is during idle time, NOW() value is bigger than last

Re: [Xen-devel] [PATCH] VMX: replace some plain numbers

2015-04-16 Thread Li, Liang Z
Sorry, invalid patch, Please ignore this. xen/arch/x86/hvm/vmx/vmx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 6c4f78c..5e90027 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++

Re: [Xen-devel] [PATCH] VMX: replace some plain numbers

2015-04-16 Thread Jan Beulich
On 16.04.15 at 22:37, liang.z...@intel.com wrote: ... making the code better document itself. No functional change intended. Much appreciated, thanks! Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] VMX: replace some plain numbers

2015-04-16 Thread Li, Liang Z
Much appreciated, thanks! Jan I just sent the wrong patch , sorry! I will send the right one. Liang ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread George Dunlap
On 04/15/2015 07:19 PM, Eric Dumazet wrote: On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: Maybe you should stop wasting all of our time and just tell us what you're thinking. I think you make me wasting my time. I already gave all the hints in prior discussions. Right, and I

Re: [Xen-devel] [PATCH 3/9] raisin: add QEMU upstream component

2015-04-16 Thread George Dunlap
On 04/16/2015 10:51 AM, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Julien Grall wrote: Hi Stefano, On 15/04/2015 16:14, Stefano Stabellini wrote: diff --git a/components/series b/components/series index 3c3124d..8f614f0 100644 --- a/components/series +++ b/components/series @@ -1,3

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Stefano Stabellini
On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:41 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 17:15 +0100, Ian Jackson wrote: Stefano Stabellini writes (Re: [Xen-devel] [PATCH 4/9] raisin: add a component to

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Stefano Stabellini
On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:42 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, George Dunlap wrote: On 04/15/2015 05:11 PM, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 16:49 +0100, Andrew Cooper

[Xen-devel] [v2] VMX: replace some plain numbers

2015-04-16 Thread Liang Li
... making the code better document itself. No functional change intended. Signed-off-by: Liang Li liang.z...@intel.com --- xen/arch/x86/hvm/vmx/vmx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread Daniel Borkmann
On 04/16/2015 10:56 AM, George Dunlap wrote: On 04/15/2015 07:19 PM, Eric Dumazet wrote: On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: Maybe you should stop wasting all of our time and just tell us what you're thinking. I think you make me wasting my time. I already gave all the

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Boris Derzhavets
Done /var/log/xen/xen-hotplug.log:- RTNETLINK answers: Device or resource busy Thank you. Boris. Date: Wed, 15 Apr 2015 16:48:54 +0100 From: anthony.per...@citrix.com To: bderzhav...@hotmail.com CC: xen-devel@lists.xen.org Subject: Re: Ongoing issue with libvirt-xen driver for Openstack

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread David Laight
From: George Dunlap Sent: 16 April 2015 09:56 On 04/15/2015 07:19 PM, Eric Dumazet wrote: On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: Maybe you should stop wasting all of our time and just tell us what you're thinking. I think you make me wasting my time. I already

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Andrew Stuart
Hi Wei Thanks for your reply. Forgive me but I’m new to this. What do you mean by 'just build stubdom the usual way, and then extract the resulting files you need.’ What is the usual way and which are the files I need? Actually maybe I could ask you also a more specific question. I have a C

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 10:54 +0100, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:41 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 17:15 +0100, Ian Jackson wrote: Stefano Stabellini writes

Re: [Xen-devel] [xen-4.2-testing test] 50412: regressions - FAIL

2015-04-16 Thread Jan Beulich
On 15.04.15 at 21:09, osst...@xenbits.xen.org wrote: flight 50412 xen-4.2-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/50412/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run:

Re: [Xen-devel] [PATCH v3 3/3] xen: rework paging_log_dirty_op to work with hvm guests

2015-04-16 Thread Jan Beulich
On 16.04.15 at 11:11, t...@xen.org wrote: At 13:14 +0100 on 14 Apr (1429017287), Jan Beulich wrote: This won't work: The paging lock protects all of d-arch.paging.preempt.log_dirty, of which you hold cached values in local variables. ... so how about reusing the existing restart code

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-16 Thread Ian Campbell
On Wed, 2015-04-15 at 17:52 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at 05:45:15PM +0100, Ian Campbell wrote: On Wed, 2015-04-15 at 17:36 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at 03:34:48PM +0100, Ian Campbell wrote: On Tue, 2015-04-14 at 18:54 +0100, Wei Liu wrote: Let's see

Re: [Xen-devel] [v2] VMX: replace some plain numbers

2015-04-16 Thread Jan Beulich
On 16.04.15 at 22:49, liang.z...@intel.com wrote: ... making the code better document itself. No functional change intended. Signed-off-by: Liang Li liang.z...@intel.com --- From looking at it I can't see what the difference to v1 is, and you also don't say anything in that regard here.

Re: [Xen-devel] [PATCH 3/9] raisin: add QEMU upstream component

2015-04-16 Thread Stefano Stabellini
On Wed, 15 Apr 2015, Julien Grall wrote: Hi Stefano, On 15/04/2015 16:14, Stefano Stabellini wrote: diff --git a/components/series b/components/series index 3c3124d..8f614f0 100644 --- a/components/series +++ b/components/series @@ -1,3 +1,4 @@ xen +qemu grub libvirt

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 10:53 +0100, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:42 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, George Dunlap wrote: On 04/15/2015 05:11 PM, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Wei Liu
Please don't top-post. On Thu, Apr 16, 2015 at 07:39:57PM +1000, Andrew Stuart wrote: Hi Wei Thanks for your reply. Forgive me but I’m new to this. What do you mean by 'just build stubdom the usual way, and then extract the resulting files you need.’ What is the usual way and which are

Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]

2015-04-16 Thread Ian Jackson
Prashant writes (Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]): Ian, using your config we are able to recreate the problem that you are seeing. The driver finds the RX data buffer to be all zero, with a analyzer trace we are seeing the chip is DMA'ing valid RX data buffer

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Ian Campbell
On Wed, 2015-04-15 at 18:41 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 17:15 +0100, Ian Jackson wrote: Stefano Stabellini writes (Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional): On Wed, 15 Apr 2015,

[Xen-devel] [PATCH] VMX: replace some plain numbers

2015-04-16 Thread Liang Li
... making the code better document itself. No functional change intended. Signed-off-by: Liang Li liang.z...@intel.com --- xen/arch/x86/hvm/vmx/vmx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index

Re: [Xen-devel] [PATCH V9 0/6] xen: Clean-up of mem_event subsystem

2015-04-16 Thread Tim Deegan
At 16:32 +0200 on 09 Apr (1428597167), Tamas K Lengyel wrote: This patch series aims to clean up the mem_event subsystem within Xen. The original use-case for this system was to allow external helper applications running in privileged domains to control various memory operations performed by

Re: [Xen-devel] [PATCH V14 3/7] xen/arm: Allow hypervisor access to mem_access protected pages

2015-04-16 Thread Tim Deegan
At 16:45 +0100 on 15 Apr (1429116345), Ian Campbell wrote: On Wed, 2015-04-15 at 17:36 +0200, Tamas K Lengyel wrote: On Wed, Apr 15, 2015 at 3:48 PM, Ian Campbell ian.campb...@citrix.com wrote: On Thu, 2015-03-26 at 23:05 +0100, Tamas K Lengyel wrote: @@ -1209,6

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Wei Liu
On Thu, Apr 16, 2015 at 06:32:49PM +1000, Andrew Stuart wrote: Hello Hello I am trying to make the c example stubdomain but it’s not working. Here’s what I am doing, any help valued: thanks Stubdom's build environment is not very user friendly. I would suggest you just build

Re: [Xen-devel] Error in gnttab documentation

2015-04-16 Thread Ian Campbell
On Wed, 2015-04-15 at 21:47 +0200, Rafał Wojdyła wrote: Hi all, There is an erroneous statement in the public header grant_table.h regarding GNTTABOP_map_grant_ref: On error, handle is a negative status code. [1] This is not the case. Only the gnttab_map_grant_ref.status field is set

Re: [Xen-devel] [PATCH v3 3/3] xen: rework paging_log_dirty_op to work with hvm guests

2015-04-16 Thread Tim Deegan
At 13:14 +0100 on 14 Apr (1429017287), Jan Beulich wrote: This won't work: The paging lock protects all of d-arch.paging.preempt.log_dirty, of which you hold cached values in local variables. ... so how about reusing the existing restart code instead? We could either move the label

Re: [Xen-devel] [PATCH 1/1] xc_domain_restore: Allow QEMU to increase memory

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 10:14 +0100, George Dunlap wrote: On 04/16/2015 10:00 AM, Ian Campbell wrote: On Wed, 2015-04-15 at 17:52 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at 05:45:15PM +0100, Ian Campbell wrote: On Wed, 2015-04-15 at 17:36 +0100, Wei Liu wrote: On Wed, Apr 15, 2015 at

Re: [Xen-devel] Xen-unstable-staging: Xen BUG at iommu_map.c:455

2015-04-16 Thread Tim Deegan
[Trimmed egregious quoting] At 22:35 +0100 on 11 Apr (1428791713), Andrew Cooper wrote: I am not certain that it is the correct way to fix the issue, nor that the ioreq server code is the only way to trigger it. There are several ways to shoot a gfn mapping from the guests physmap. At

Re: [Xen-devel] [v2] VMX: replace some plain numbers

2015-04-16 Thread Li, Liang Z
On 16.04.15 at 22:49, liang.z...@intel.com wrote: ... making the code better document itself. No functional change intended. Signed-off-by: Liang Li liang.z...@intel.com --- From looking at it I can't see what the difference to v1 is, and you also don't say anything in that

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread George Dunlap
On 04/16/2015 11:25 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Thu, 2015-04-16 at 10:54 +0100, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:41 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell

Re: [Xen-devel] [PATCH 3/9] raisin: add QEMU upstream component

2015-04-16 Thread Julien Grall
On 16/04/2015 10:54, George Dunlap wrote: Currently the QEMU built by Xen is installed in a Xen directory (IIRC /usr/lib/xen/bin). Should not you use a similar path for raisin? Otherwise you would override the QEMU installed via the distrib package manager. This was done on purpose because the

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Wei Liu
On Thu, Apr 16, 2015 at 08:48:36PM +1000, Andrew Stuart wrote: Another way to achieve your goal is to try rump kernel. It's still under development but the build system is a bit nicer to work with than our in-tree stubdom build system IMHO. OK I’ll head in the rump kernel direction. Is

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread George Dunlap
On 04/16/2015 11:55 AM, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Thu, 2015-04-16 at 11:39 +0100, George Dunlap wrote: On 04/16/2015 11:25 AM, Stefano Stabellini wrote: Each component is independent and there is no knowledge about versions of one component (xen 4.5

[Xen-devel] [PATCH] public/grant_table.h: fix description of GNTTABOP_map_grant_ref

2015-04-16 Thread Rafał Wojdyła
Error code is not returned in the handle field of the gnttab_map_grant_ref structure but in the status field only. Signed-off-by: Rafal Wojdyla o...@invisiblethingslab.com --- xen/include/public/grant_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 12:25 +0100, Tim Deegan wrote: But also: AFAICS the GCC builtin __sync_fetch_and_add() does almost exactly this (the difference being that those are also compiler barriers where this is only a CPU barrier). Should we be using it instead? In general I'm of the opinion we

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 06:46 -0400, Boris Derzhavets wrote: Was this just the tail of the log or the complete thing? No it was in the middle . I am attaching xen-hotplug.log.gz Thanks, I think this shows that as expected our hotplug scripts have not been responsible for bringing vif1.0 up

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread Eric Dumazet
On Thu, 2015-04-16 at 12:39 +0100, George Dunlap wrote: On 04/15/2015 07:17 PM, Eric Dumazet wrote: Do not expect me to fight bufferbloat alone. Be part of the challenge, instead of trying to get back to proven bad solutions. I tried that. I wrote a description of what I thought the

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread Eric Dumazet
On Thu, 2015-04-16 at 11:01 +0100, George Dunlap wrote: He suggested that after he'd been prodded by 4 more e-mails in which two of us guessed what he was trying to get at. That's what I was complaining about. My big complain is that I suggested to test to double the sysctl, which gave good

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Andrew Stuart
Another way to achieve your goal is to try rump kernel. It's still under development but the build system is a bit nicer to work with than our in-tree stubdom build system IMHO. OK I’ll head in the rump kernel direction. Is this where I should start? https://github.com/rumpkernel/rumprun

Re: [Xen-devel] Error in gnttab documentation

2015-04-16 Thread Rafał Wojdyła
On 2015-04-16 11:04, Ian Campbell wrote: On Wed, 2015-04-15 at 21:47 +0200, Rafał Wojdyła wrote: Hi all, There is an erroneous statement in the public header grant_table.h regarding GNTTABOP_map_grant_ref: On error, handle is a negative status code. [1] This is not the case. Only the

[Xen-devel] [PATCH v2 2/2] Update configure scripts by calling autogen

2015-04-16 Thread Stefano Stabellini
I run ./autogen.sh and committed the result. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- tools/config.h.in |3 +++ tools/configure | 29 + 2 files changed, 32 insertions(+) diff --git a/tools/config.h.in b/tools/config.h.in index

[Xen-devel] [PATCH v2 1/2] Introduce configure option --with-system-qemu-traditional

2015-04-16 Thread Stefano Stabellini
Introduce a configure option to disable the in-tree qemu-traditional build and use an externally provided qemu-dm binary. The option is very similar to the existing --with-system-qemu-xen. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- INSTALL|3 +++

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Tim Deegan
At 15:19 +0100 on 10 Apr (1428679195), David Vrabel wrote: xadd() atomically adds a value and returns the previous value. This is needed to implement ticket locks. Signed-off-by: David Vrabel david.vra...@citrix.com --- xen/include/asm-x86/system.h | 29 + 1

Re: [Xen-devel] Archiving Xen on ARM and PVOPS subprojects

2015-04-16 Thread Ian Campbell
On Wed, 2015-04-15 at 17:23 +0100, Lars Kurth wrote: According to http://xenproject.org/governance.html we would need to perform an archivation review. In this case, the situation is quite clear IMHO and I believe that we do not need to make an extensive case, besides the one above. So my

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Tim Deegan
At 12:38 +0100 on 16 Apr (1429187920), David Vrabel wrote: On 16/04/15 12:25, Tim Deegan wrote: At 15:19 +0100 on 10 Apr (1428679195), David Vrabel wrote: xadd() atomically adds a value and returns the previous value. This is needed to implement ticket locks. Signed-off-by: David

Re: [Xen-devel] Archiving Xen on ARM and PVOPS subprojects

2015-04-16 Thread David Vrabel
On 15/04/15 17:23, Lars Kurth wrote: Hi all, I wanted to make the proposal to archive the following two subproject on the grounds that they completed their goals a) http://xenproject.org/developers/teams/pvops.html I thought this was closed ages ago. +1, but I don't actually have voting

[Xen-devel] [GIT PULL] xen: features and fixes for 4.1-rc0

2015-04-16 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-4.1-rc0-tag xen: features and fixes for 4.1-rc0 - - Use a single source list of hypercalls, generating other tables etc. at

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Tim Deegan
At 12:49 +0100 on 16 Apr (1429188559), Jan Beulich wrote: On 16.04.15 at 13:25, t...@xen.org wrote: But also: AFAICS the GCC builtin __sync_fetch_and_add() does almost exactly this (the difference being that those are also compiler barriers where this is only a CPU barrier). Should we be

Re: [Xen-devel] [PATCHv2 5/6] xen: use ticket locks for spin locks

2015-04-16 Thread Tim Deegan
At 13:46 +0100 on 16 Apr (1429192004), David Vrabel wrote: On 16/04/15 13:03, Tim Deegan wrote: Should there be a follow-up patch that removes all the arch-specific raw_spinlock_t stuff? Or is it still in use somewhere else? This is patch #6. So it is. /me needs an eye test. Sorry

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Boris Derzhavets
Done RTNETLINK answers: Device or resource busy ++ fatal ip link set vif1.0 name 'tapc32a6b48-25 failed' ++ _xenstore_write backend/vif/1/0/hotplug-error 'ip link set vif1.0 name tapc32a6b48-25 failed' backend/vif/1/0/hotplug-status error ++ log debug 'Writing backend/vif/1/0/hotplug-error' 'ip

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Stefano Stabellini
On Thu, 16 Apr 2015, Ian Campbell wrote: On Thu, 2015-04-16 at 10:54 +0100, Stefano Stabellini wrote: On Thu, 16 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 18:41 +0100, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Ian Campbell wrote: On Wed, 2015-04-15 at 17:15 +0100, Ian

Re: [Xen-devel] [PATCH 1/1] x86/hvm: prevent hvm_free_ioreq_gmfn() clobber of arbitrary memory

2015-04-16 Thread Tim Deegan
At 14:17 +0100 on 14 Apr (1429021061), Andrew Cooper wrote: On 14/04/15 12:47, Jan Beulich wrote: On 13.04.15 at 18:01, dsl...@verizon.com wrote: --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -536,8 +536,9 @@ static int hvm_alloc_ioreq_gmfn(struct domain *d, unsigned

Re: [Xen-devel] [PATCH 1/2] Introduce configure option --with-system-qemu-traditional

2015-04-16 Thread Stefano Stabellini
On Wed, 15 Apr 2015, Olaf Hering wrote: On Wed, Apr 15, Stefano Stabellini wrote: tools/configure.ac | 51 +++- tools/libxl/libxl_dm.c | 11 ++- 2 files changed, 39 insertions(+), 23 deletions(-) This change should be

Re: [Xen-devel] [PATCHv2 1/6] x86/hvm: don't include asm/spinlock.h

2015-04-16 Thread Tim Deegan
At 15:19 +0100 on 10 Apr (1428679192), David Vrabel wrote: asm/spinlock.h should not be included directly. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: TIm Deegan t...@xen.org ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Ian Jackson
Stefano Stabellini writes (Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional): On Thu, 16 Apr 2015, Ian Campbell wrote: But can I _query_ what it is able to build (i.e. the components the current version supports) and/or what it would actually build if asked

Re: [Xen-devel] [PATCHv2 5/6] xen: use ticket locks for spin locks

2015-04-16 Thread David Vrabel
On 16/04/15 13:03, Tim Deegan wrote: Should there be a follow-up patch that removes all the arch-specific raw_spinlock_t stuff? Or is it still in use somewhere else? This is patch #6. David ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread Tim Deegan
At 12:39 +0100 on 16 Apr (1429187952), George Dunlap wrote: Your comment lists three benefits: 1. better RTT estimation 2. faster recovery 3. high rates #3 is just marketing fluff; it's also contradicted by the statement that immediately follows it -- i.e., there are drivers for which the

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Boris Derzhavets
Subject: Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova From: ian.campb...@citrix.com To: bderzhav...@hotmail.com CC: anthony.per...@citrix.com; xen-devel@lists.xen.org Date: Thu, 16 Apr 2015 11:35:38 +0100 On Thu, 2015-04-16 at 06:26 -0400, Boris Derzhavets

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Stefano Stabellini
On Thu, 16 Apr 2015, Ian Campbell wrote: On Thu, 2015-04-16 at 11:39 +0100, George Dunlap wrote: On 04/16/2015 11:25 AM, Stefano Stabellini wrote: Each component is independent and there is no knowledge about versions of one component (xen 4.5 and earlier) needing one or more versions of

Re: [Xen-devel] [PATCHv2 3/6] xen: generic xadd() for ticket locks

2015-04-16 Thread Tim Deegan
At 15:19 +0100 on 10 Apr (1428679194), David Vrabel wrote: Provide a generic xadd() implementation for architectures that don't provide one. This is only temporary until arm/arm64 provides an xadd() implementation. Signed-off-by: David Vrabel david.vra...@citrix.com The logic looks fine,

Re: [Xen-devel] [PATCHv2 5/6] xen: use ticket locks for spin locks

2015-04-16 Thread Tim Deegan
At 15:19 +0100 on 10 Apr (1428679196), David Vrabel wrote: Replace the byte locks with ticket locks. Ticket locks are: a) fair; and b) peform better when contented since they spin without an atomic operation. The lock is split into two ticket values: head and tail. A locker acquires a

Re: [Xen-devel] building xen and libvirt with odd --prefix fails

2015-04-16 Thread Olaf Hering
On Thu, Apr 16, Olaf Hering wrote: And initially I did not pass the matching --prefix to libvirts configure. Even with matching --prefix libvirt does not look in $prefix/include for xen/xen.h, even with --includedir=$prefix/include. Using env CFLAGS=-I/odd/path/include

Re: [Xen-devel] [PATCH 1/2] libxl: fd events: Document spurious callbacks, break out libxl__ev_fd_recheck

2015-04-16 Thread Ian Campbell
On Tue, 2015-04-14 at 18:31 +0100, Ian Jackson wrote: No functional change, other than to debug and error message output. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com Acked-by: Ian Campbell ian.campb...@citrix.com ___ Xen-devel mailing

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 11:17 +0100, Wei Liu wrote: Both solutions will require some work. I can't tell for sure how much work is required. But I think we can safely(?) say that work done on rumpkernel will be a more worthwhile investment, while work on stubdom would be more of a sunk cost...

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread George Dunlap
On Thu, Apr 16, 2015 at 10:22 AM, David Laight david.lai...@aculab.com wrote: ISTM that you are changing the wrong knob. You need to change something that affects the global amount of pending tx data, not the amount that can be buffered by a single connection. Well it seems like the problem

[Xen-devel] [PATCH v2 0/2] introduce --with-system-qemu-traditional

2015-04-16 Thread Stefano Stabellini
Hi all, This patch series introduces a new configure command line option to provide an externally built qemu-dm binary and stop xen-unstable from trying to clone and build qemu-xen-traditional. Changes in v2: - update INSTALL file - retain disable-qemu-traditional configure option Stefano

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Jan Beulich
On 16.04.15 at 13:25, t...@xen.org wrote: But also: AFAICS the GCC builtin __sync_fetch_and_add() does almost exactly this (the difference being that those are also compiler barriers where this is only a CPU barrier). Should we be using it instead? I'm afraid that's useful only from gcc

Re: [Xen-devel] [PATCH v4 12/12] docs: add xl-psr.markdown

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-09 at 17:18 +0800, Chao Peng wrote: Add document to introduce basic concepts and terms in PSR family techonologies and the xl/libxl interfaces. technologies Signed-off-by: Chao Peng chao.p.p...@linux.intel.com --- docs/man/xl.pod.1 | 7 +++

Re: [Xen-devel] [PATCH 3/9] raisin: add QEMU upstream component

2015-04-16 Thread Stefano Stabellini
On Thu, 16 Apr 2015, George Dunlap wrote: On 04/16/2015 10:51 AM, Stefano Stabellini wrote: On Wed, 15 Apr 2015, Julien Grall wrote: Hi Stefano, On 15/04/2015 16:14, Stefano Stabellini wrote: diff --git a/components/series b/components/series index 3c3124d..8f614f0 100644 ---

Re: [Xen-devel] make c-stubdom returns No rule to make target `mini-os-x86_64-c'

2015-04-16 Thread Wei Liu
On Thu, Apr 16, 2015 at 11:23:49AM +0100, Ian Campbell wrote: On Thu, 2015-04-16 at 11:17 +0100, Wei Liu wrote: Both solutions will require some work. I can't tell for sure how much work is required. But I think we can safely(?) say that work done on rumpkernel will be a more worthwhile

Re: [Xen-devel] Ongoing issue with libvirt-xen driver for Openstack Nova

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 06:26 -0400, Boris Derzhavets wrote: _Please stop top posting_. http://www.idallen.com/topposting.html Done Was this just the tail of the log or the complete thing? RTNETLINK answers: Device or resource busy ++ fatal ip link set vif1.0 name 'tapc32a6b48-25 failed' ++

Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-16 at 11:39 +0100, George Dunlap wrote: On 04/16/2015 11:25 AM, Stefano Stabellini wrote: Each component is independent and there is no knowledge about versions of one component (xen 4.5 and earlier) needing one or more versions of another component (qemu-traditional). The

Re: [Xen-devel] [PATCHv2 2/6] x86/mtrr: include asm/atomic.h

2015-04-16 Thread Tim Deegan
At 15:19 +0100 on 10 Apr (1428679193), David Vrabel wrote: asm/atomic.h is needed but only included indirectly via asm/spinlock.h. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Tim Deegan t...@xen.org ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH v4 11/12] tools: add tools support for Intel CAT

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-09 at 17:18 +0800, Chao Peng wrote: +=item Bpsr-cat-cbm-set [IOPTIONS] [Idomain-id] [Icbm] + +Set cache capacity bitmasks(CBM) for a domain. I can see from the example in the commit log that Icbm is a number, but a) I can't tell that from these docs and b) I have no idea what

Re: [Xen-devel] [PATCH 1/1] x86/hvm: prevent hvm_free_ioreq_gmfn() clobber of arbitrary memory

2015-04-16 Thread Jan Beulich
On 16.04.15 at 12:53, t...@xen.org wrote: At 14:17 +0100 on 14 Apr (1429021061), Andrew Cooper wrote: On 14/04/15 12:47, Jan Beulich wrote: On 13.04.15 at 18:01, dsl...@verizon.com wrote: --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -536,8 +536,9 @@ static int

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread David Vrabel
On 16/04/15 12:25, Tim Deegan wrote: At 15:19 +0100 on 10 Apr (1428679195), David Vrabel wrote: xadd() atomically adds a value and returns the previous value. This is needed to implement ticket locks. Signed-off-by: David Vrabel david.vra...@citrix.com --- xen/include/asm-x86/system.h |

Re: [Xen-devel] [PATCH v3 0/2] vtpm deep quote in locality 0

2015-04-16 Thread Ian Campbell
On Wed, 2015-04-15 at 21:00 +0300, Emil Condrea wrote: Changes from v2: - removed useless whitespace - fixed compiling issues for tpm emulator Applied, thanks. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] [PATCH v2] x86/efi: Reserve SMBIOS table region when EFI booting

2015-04-16 Thread Ross Lagerwall
Some EFI firmware implementations may place the SMBIOS table in RAM marked as BootServicesData, which Xen does not consider as reserved. When dom0 tries to access the SMBIOS, the region is not contained in the initial P2M and it crashes with a page fault. To fix this, reserve the SMBIOS region.

Re: [Xen-devel] [PATCH 2/2] libxl: save helper: Recheck fd events

2015-04-16 Thread Ian Jackson
Ian Campbell writes (Re: [Xen-devel] [PATCH 2/2] libxl: save helper: Recheck fd events): On Tue, 2015-04-14 at 18:31 +0100, Ian Jackson wrote: The save helper message reader does operates with the fd in blocking s/does //? Oops, fixed. Acked-by: Ian Campbell ian.campb...@citrix.com I

Re: [Xen-devel] [PATCHv2 4/6] x86: provide xadd()

2015-04-16 Thread Jan Beulich
On 16.04.15 at 14:55, ian.campb...@citrix.com wrote: On Thu, 2015-04-16 at 13:49 +0100, Tim Deegan wrote: At 12:49 +0100 on 16 Apr (1429188559), Jan Beulich wrote: On 16.04.15 at 13:25, t...@xen.org wrote: But also: AFAICS the GCC builtin __sync_fetch_and_add() does almost exactly this

Re: [Xen-devel] [PATCH v3 0/2] vtpm deep quote in locality 0

2015-04-16 Thread Emil Condrea
Thank you! On Thu, Apr 16, 2015 at 5:10 PM, Ian Campbell ian.campb...@citrix.com wrote: On Wed, 2015-04-15 at 21:00 +0300, Emil Condrea wrote: Changes from v2: - removed useless whitespace - fixed compiling issues for tpm emulator Applied, thanks.

Re: [Xen-devel] [v2 00/11] PML (Paging Modification Logging) support

2015-04-16 Thread Tim Deegan
At 15:03 +0800 on 15 Apr (1429110222), Kai Huang wrote: This v2 patch series was rebased on latest upstream code. Looks good to me. Acked-by: Tim Deegan t...@xen.org ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v7] libxl: provide libxl_bitmap_{or,and}

2015-04-16 Thread Wei Liu
On Thu, Apr 16, 2015 at 08:40:52AM -0600, Linda wrote: On 4/16/2015 8:34 AM, Ian Campbell wrote: On Wed, 2015-04-15 at 11:02 -0600, Linda Jacobson wrote: New functions to provide logical and and or of two bitmaps functions can be used in vNUMA configuration check function. I don't think that

Re: [Xen-devel] [v2 02/11] doc: add description for new PML boot parameter

2015-04-16 Thread Andrew Cooper
On 16/04/15 05:47, Kai Huang wrote: On 04/15/2015 06:15 PM, Andrew Cooper wrote: On 15/04/15 08:03, Kai Huang wrote: This patch adds doc description for new boot parameter 'ept=pml'. Signed-off-by: Kai Huang kai.hu...@linux.intel.com Personally, I would fold this patch into the previous so

Re: [Xen-devel] [PATCH v5 p2 12/19] xen/passthrough: Extend XEN_DOMCTL_*assign_device to support DT device

2015-04-16 Thread Ian Campbell
On Thu, 2015-04-09 at 16:09 +0100, Julien Grall wrote: From: Julien Grall julien.gr...@linaro.org A device node is described by a path. It will be used to retrieved the retrieve node in the device tree and assign the related device to the domain. Only non-PCI protected by an IOMMU can be

  1   2   3   >