Re: [Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-06 Thread Jan Beulich
On 05.02.15 at 17:56, ian.jack...@eu.citrix.com wrote: Jan Beulich writes (Re: [PATCH] tools: work around collision of -O0 and --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -56,7 +56,7 @@ SHLIB_libxenvchan = -Wl,-rpath-link=$(XEN_LIBVCHAN) ifeq ($(debug),y) # Disable

Re: [Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-06 Thread Jan Beulich
On 06.02.15 at 09:19, jbeul...@suse.com wrote: Attached the patch I used for testing. This time for real. Jan tools: work around collision of -O0 and -D_FORTIFY_SOURCE Some systems have python-config include -D_FORTIFY_SOURCE in the CFLAGS. But -D_FORTIFY_SOURCE does not (currently) work

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Pasi Kärkkäinen
On Fri, Feb 06, 2015 at 06:46:23AM +, Jason Long wrote: Hello Folks. I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc? Hello, Xen is mostly written in C language, but there

[Xen-devel] [OSSTEST PATCH 06/10] sg-run-job: testid generation: Introduce $testid_args

2015-02-06 Thread Ian Jackson
Rather than accumulating into host_testid_suffix directly, accumulate into a list testid_args first. No functional change: all we do is defer the construction of host_testid_suffix, which is not used until later in this function. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com ---

[Xen-devel] [PATCH 00/10] Repeat rump kernel xenstorels test

2015-02-06 Thread Ian Jackson
This 10-patch series(!) arranges to repeat the xenstorels test 50 times. In my ad-hoc tests this takes about 3 minutes so is clearly fine from a resource POV. This is in aid of debugging the problem seen in 33690 and 33416 (which we think is the same). However, in my ad-hoc tests it hasn't

[Xen-devel] [OSSTEST PATCH 08/10] sg-run-job, etc.: Infrastructure for test script repetition

2015-02-06 Thread Ian Jackson
Provide: * ts-repeat-test, a script to run multiple other test scripts in a loop * repeat-ts, a proc in sg-run-job which invokes it No callers yet. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- sg-run-job |4 ts-repeat-test | 66

[Xen-devel] [OSSTEST PATCH 10/10] rump kernel tests: Repeat the xenstorels test 50 times

2015-02-06 Thread Ian Jackson
Add a new step which uses repeat-ts to run ts-rumpuserxen-demo-xenstorels many times. We have to run ts-guest-destroy-hard first each time, to destroy the guest which might exist at each previous step. To help with ad-hoc debugging runs, we specify `-' on the destroy, so that if the destroy

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Jason Long
Thank you. Can you answer my previous questions about Ocaml and C? Why Ocaml is unique and which part of Xen use it? I know my questions are silly but I'm a dummies and I looked at amazon.com and found Tons of C book but which one is good? Cheers. On Friday, February 6, 2015 5:14 PM, Pasi

[Xen-devel] [OSSTEST PATCH 03/10] TestSupport: Make next_unique_name count in decimal, not unary

2015-02-06 Thread Ian Jackson
Ie, we add `+counter' rather than an ever-longer series of `+'s. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- Osstest/TestSupport.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 55541b1..8aed285 100644

[Xen-devel] [OSSTEST PATCH 04/10] tcl/osstestlib.tcl: Provide lshift

2015-02-06 Thread Ian Jackson
No callers yet. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- tcl/osstestlib.tcl |7 +++ 1 file changed, 7 insertions(+) diff --git a/tcl/osstestlib.tcl b/tcl/osstestlib.tcl index 1531c87..a0413c4 100644 --- a/tcl/osstestlib.tcl +++ b/tcl/osstestlib.tcl @@ -67,3 +67,10 @@

[Xen-devel] [OSSTEST PATCH 09/10] rump kernel tests: Cancel unneeded edits of guest config

2015-02-06 Thread Ian Jackson
If the guest config is already set up to preserve, cancel the edit. We are going to repeat this test, and this avoids creating many identical copies of the same file in the log output. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- ts-rumpuserxen-demo-xenstorels |6 +- 1 file

[Xen-devel] [OSSTEST PATCH 07/10] sg-run-job: testid generation: Process ts more like rest of args

2015-02-06 Thread Ian Jackson
Remove ts as a separate parameter to spawn-ts. The test script now becomes the first entry in args. We process it through the arg loop as before. Currently there are no calls where the first arg is `+' so the test script name ends up in both real_args and testid_args. We split it out of

[Xen-devel] [OSSTEST PATCH 05/10] sg-run-job: testid generation: Move spawn-step-begin

2015-02-06 Thread Ian Jackson
Run spawn-step-begin until after the loop over $args, and after the computation of the basic deftestid. No functional change: nothing in that loop looks at stepno. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- sg-run-job |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[Xen-devel] [rumpuserxen test] 34212: regressions - FAIL

2015-02-06 Thread xen . org
flight 34212 rumpuserxen real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34212/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-rumpuserxen6 xen-build fail REGR. vs. 33866

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Razvan Cojocaru
On 02/06/2015 09:17 PM, Jason Long wrote: I know my questions are silly but I'm a dummies and I looked at amazon.com and found Tons of C book but which one is good? The C Programming Language, by Brian W. Kernighan and Dennis M. Ritchie: http://cm.bell-labs.com/cm/cs/cbook/ Cheers, Razvan

[Xen-devel] vNUMA for PV guest: kernel and toolstack interaction regarding e820_host=1

2015-02-06 Thread Wei Liu
Hi all I encounter a problem that I would like to get some advice. It's PV specific because of the P2M manipulation is only required by PV. Current scheme of memory allocation scheme: 1. Libxc populate contiguous chunk of pages and fill in initial P2M. The holes in e820 map are in fact

Re: [Xen-devel] vNUMA for PV guest: kernel and toolstack interaction regarding e820_host=1

2015-02-06 Thread Wei Liu
On Fri, Feb 06, 2015 at 07:42:15PM +, David Vrabel wrote: On 06/02/15 19:32, Wei Liu wrote: Hi all I encounter a problem that I would like to get some advice. It's PV specific because of the P2M manipulation is only required by PV. Current scheme of memory allocation scheme:

Re: [Xen-devel] [PATCH 00/10] Repeat rump kernel xenstorels test

2015-02-06 Thread Ian Jackson
Ian Jackson writes ([PATCH 00/10] Repeat rump kernel xenstorels test): 04..07 need a thorough full-flight test which I have not yet done. But this sql rune suggests that nothing is horribly broken at least for the rump test job: select * from (select

Re: [Xen-devel] vNUMA for PV guest: kernel and toolstack interaction regarding e820_host=1

2015-02-06 Thread David Vrabel
On 06/02/15 19:32, Wei Liu wrote: Hi all I encounter a problem that I would like to get some advice. It's PV specific because of the P2M manipulation is only required by PV. Current scheme of memory allocation scheme: 1. Libxc populate contiguous chunk of pages and fill in initial P2M.

Re: [Xen-devel] pvSCSI test

2015-02-06 Thread Kristian Hagsted Rasmussen
On Friday, February 6, 2015 15:25, Juergen Gross jgr...@suse.com wrote: To: Kristian Hagsted Rasmussen; Olaf Hering; xen-de...@lists.xensource.com Subject: Re: [Xen-devel] pvSCSI test After some more fiddling around, I believe the configuration should be okay. My

[Xen-devel] [OSSTEST PATCH 02/10] TestSupport: Introduce next_unique_name

2015-02-06 Thread Ian Jackson
No functional change. Signed-off-by: Ian Jackson ian.jack...@eu.citrix.com --- Osstest/TestSupport.pm | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 5a4c41f..55541b1 100644 --- a/Osstest/TestSupport.pm +++

Re: [Xen-devel] [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Sasha Levin
On 02/06/2015 02:42 PM, Davidlohr Bueso wrote: On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag after doing unlock. [ fix edited out ] So I'm not going to

Re: [Xen-devel] [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Sasha Levin
On 02/06/2015 09:49 AM, Raghavendra K T wrote: Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(lock-tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */

Re: [Xen-devel] [RFC 1/7] linux-stubdomain: Compile QEMU

2015-02-06 Thread Wei Liu
On Fri, Feb 06, 2015 at 12:25:33PM -0500, Eric Shelton wrote: On Fri, Feb 6, 2015 at 10:46 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Tue, 3 Feb 2015, Eric Shelton wrote: Before having patches, I would like to try to get them upstream in QEMU. If we really cannot

Re: [Xen-devel] [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Davidlohr Bueso
On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag after doing unlock. [ fix edited out ] So I'm not going to be applying this for 3.19, because it's much

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-06 Thread Luis R. Rodriguez
On Wed, Feb 4, 2015 at 6:57 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: Given that there is no CONFIG_PV or CONFIG_PVH or even CONFIG_PVHVM on arm and arm64 I'll update CONFIG_XEN_PVHVM to be x86 specific, it already depends on X86_LOCAL_APIC, so just updating it on the

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-06 Thread Luis R. Rodriguez
On Mon, Jan 19, 2015 at 5:28 AM, Ian Campbell ian.campb...@citrix.com wrote: In your list do the options which come under XEN or XEN_FRONTEND depend on the respective headline config option? An indentation reflects a dependency on the above option. Luis

[Xen-devel] Xen's Linux kernel config options v3

2015-02-06 Thread Luis R. Rodriguez
This is a third respin for a design proposal for a rework on the config options on the Linux kernel related to Xen. The frist two proposals came from Juergen, I'm taking on the work now as some other work I am doing is related to this. This third iteration addresses the feedback given on Juergen's

Re: [Xen-devel] [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-06 Thread Luis R. Rodriguez
On Mon, Feb 2, 2015 at 1:32 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: On Mon, Feb 2, 2015 at 1:13 PM, Michal Marek mma...@suse.cz wrote: Dne 30.1.2015 v 19:25 Luis R. Rodriguez napsal(a): On Fri, Jan 30, 2015 at 2:49 AM, Michal Marek mma...@suse.cz wrote: On 2015-01-29 21:47, Paul

[Xen-devel] [linux-3.10 test] 34210: regressions - FAIL

2015-02-06 Thread xen . org
flight 34210 linux-3.10 real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34210/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-winxpsp3 7 windows-install fail REGR. vs. 26303 Tests which are

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-06 Thread Luis R. Rodriguez
On Fri, Feb 6, 2015 at 4:07 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Thu, 5 Feb 2015, Luis R. Rodriguez wrote: On Wed, Feb 4, 2015 at 6:57 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Wed, 4 Feb 2015, David Vrabel wrote: On 16/12/14 16:21,

Re: [Xen-devel] [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Davidlohr Bueso
On Fri, 2015-02-06 at 16:15 -0500, Sasha Levin wrote: On 02/06/2015 02:42 PM, Davidlohr Bueso wrote: On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Paravirt spinlock clears slowpath flag

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-06 Thread Luis R. Rodriguez
On Mon, Jan 19, 2015 at 5:28 AM, Ian Campbell ian.campb...@citrix.com wrote: Could you annotate (maybe not a new column, perhaps with a * or something) which options are supposed to be user-visible vs purely internal things which can be selected? All options listed will be user selectable

[Xen-devel] [ovmf test] 34196: regressions - FAIL

2015-02-06 Thread xen . org
flight 34196 ovmf real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34196/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 7 debian-hvm-install fail REGR. vs. 33686

Re: [Xen-devel] [Embedded-pv-devel] [PATCH v6] sndif: add ABI for Para-virtual sound

2015-02-06 Thread Oleksandr Dmytryshyn
Hi, Stefano. Currently we have this configuration: Dom0, DomD (driver domain), DomU (Android). Sound driver is inside DomD. Backend uses ALSA for playback/capture. On Thu, Feb 5, 2015 at 9:47 PM, Stefano Panella stefano.pane...@citrix.com wrote: Hi all, First of all I would like to say that:

Re: [Xen-devel] [PATCH 0/2] xen: cleanup sysfs management

2015-02-06 Thread David Vrabel
On 05/02/15 20:38, Takashi Iwai wrote: Hi, this is a couple of patchset to clean up the sysfs entry creation / removal in xen driver codes. They are relatively straightforward conversion patches, where manual function calls are replaced with static attribute groups. These look fine but

[Xen-devel] [xen-unstable test] 34181: regressions - FAIL

2015-02-06 Thread xen . org
flight 34181 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34181/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-rumpuserxen-amd64 11 rumpuserxen-demo-xenstorels/xenstorels fail REGR. vs. 34137

[Xen-devel] [PATCH v7] sndif: add ABI for Para-virtual sound

2015-02-06 Thread Oleksandr Dmytryshyn
This is ABI for the two halves of a Para-virtual sound driver to communicate with each to other. Signed-off-by: Oleksandr Dmytryshyn oleksandr.dmytrys...@globallogic.com Signed-off-by: Iurii Konovalenko iurii.konovale...@globallogic.com --- Changes since v1: * removed __attribute__((__packed__))

[Xen-devel] pvSCSI test

2015-02-06 Thread Kristian Hagsted Rasmussen
On Wednesday, February 4, 2015 05:41, Juergen Gross jgr...@suse.com wrote: To: Kristian Hagsted Rasmussen; Olaf Hering; xen-de...@lists.xensource.com Subject: Re: pvSCSI test On 02/03/2015 07:16 PM, Kristian Hagsted Rasmussen wrote: Hi Olaf and Juergen I am interested in testing pvSCSI

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Jason Long
Can you tell me why Ocaml used? What is the features of this language? Why not other? Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :( Cheers. On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen pa...@iki.fi wrote: On

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Pasi Kärkkäinen
On Fri, Feb 06, 2015 at 10:31:09AM +, Jason Long wrote: Can you tell me why Ocaml used? What is the features of this language? Why not other? Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :( There are two different

Re: [Xen-devel] [PATCH 2/2] drivers: xen/block: add multi-page ring support

2015-02-06 Thread Bob Liu
On 02/02/2015 06:43 PM, Roger Pau Monné wrote: El 23/01/15 a les 10.14, Bob Liu ha escrit: Extend xen/block to support multi-page ring. * xen-blkback notify blkfront with feature-multi-ring-pages * xen-blkfront write to xenstore about how many pages are used as the ring If using 4 pages

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Wei Liu
Thanks for posting. On Tue, Feb 03, 2015 at 11:06:15PM -0500, Eric Shelton wrote: [...] @@ -1368,12 +1401,24 @@ static void stubdom_pvqemu_cb(libxl__egc *egc, libxl__stub_dm_spawn_state *sdss = CONTAINER_OF(multidev, *sdss, multidev); STATE_AO_GC(sdss-dm.spawn.ao); uint32_t

Re: [Xen-devel] [PATCH 0/2] xen: cleanup sysfs management

2015-02-06 Thread Takashi Iwai
At Fri, 6 Feb 2015 10:43:44 +, David Vrabel wrote: On 05/02/15 20:38, Takashi Iwai wrote: Hi, this is a couple of patchset to clean up the sysfs entry creation / removal in xen driver codes. They are relatively straightforward conversion patches, where manual function calls are

Re: [Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE [and 1 more messages]

2015-02-06 Thread Ian Jackson
Jan Beulich writes (Re: [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE): Attached the patch I used for testing. While it works okay for me, I guess the configure part will need further taking care of the -Wp,-D... variant Don is seeing. Thanks. I'm going to pretend my

Re: [Xen-devel] pvSCSI test

2015-02-06 Thread Juergen Gross
On 02/06/2015 10:32 AM, Kristian Hagsted Rasmussen wrote: On Wednesday, February 4, 2015 05:41, Juergen Gross jgr...@suse.com wrote: To: Kristian Hagsted Rasmussen; Olaf Hering; xen-de...@lists.xensource.com Subject: Re: pvSCSI test On 02/03/2015 07:16 PM, Kristian Hagsted Rasmussen wrote:

Re: [Xen-devel] [PATCH 1/2] xenbus_client: extend interface to suppurt multi-page ring

2015-02-06 Thread Wei Liu
On Fri, Jan 23, 2015 at 06:14:30PM +0800, Bob Liu wrote: [...] rv = xenbus_alloc_evtchn(dev, priv-evtchn); if (rv) diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 908e65e..8513764 100644 --- a/drivers/net/xen-netback/netback.c +++

Re: [Xen-devel] [RFC PATCH V3 05/12] xen: Introduce vm_event

2015-02-06 Thread Tamas K Lengyel
On Mon, Feb 2, 2015 at 8:35 PM, Daniel De Graaf dgde...@tycho.nsa.gov wrote: On 01/31/2015 08:24 AM, Tamas K Lengyel wrote: On Fri, Jan 30, 2015 at 6:25 PM, Daniel De Graaf dgde...@tycho.nsa.gov wrote: On 01/29/2015 04:46 PM, Tamas K Lengyel wrote: To make it easier to review the renaming

Re: [Xen-devel] pvSCSI test

2015-02-06 Thread Kristian Hagsted Rasmussen
On Friday, February 6, 2015 10:57, Juergen Gross jgr...@suse.com wrote: To: Kristian Hagsted Rasmussen; Olaf Hering; xen-de...@lists.xensource.com Subject: Re: pvSCSI test On 02/06/2015 10:32 AM, Kristian Hagsted Rasmussen wrote: On Wednesday, February 4, 2015 05:41, Juergen Gross

Re: [Xen-devel] [RFC PATCH V3 07/12] xen: Remove mem_event

2015-02-06 Thread Jan Beulich
On 06.02.15 at 13:54, tamas.leng...@zentific.com wrote: Did you look at the resulting patch to see what happened? It didn't remove the mem_event stuff, but adjusted it enough to become the vm_event one while removing the previously added vm_event part again. Another argument against this

Re: [Xen-devel] [PATCH RFC 26/35] arm : acpi read mmio tables from uefi

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Julien Grall wrote: On 06/02/2015 00:34, Stefano Stabellini wrote: diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 93c8a8a..930746b 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -50,6 +50,7 @@ #include asm-arm/cputype.h

Re: [Xen-devel] [RFC PATCH V3 11/12] xen/vm_event: Decouple vm_event and mem_access.

2015-02-06 Thread Jan Beulich
On 06.02.15 at 14:10, tamas.leng...@zentific.com wrote: On Wed, Feb 4, 2015 at 10:47 AM, Jan Beulich jbeul...@suse.com wrote: On 29.01.15 at 22:46, tamas.leng...@zentific.com wrote: --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -52,9 +52,10 @@ obj-y += tmem_xen.o obj-y +=

Re: [Xen-devel] [PATCH RFC 27/35] arm: acpi map mmio regions to dom0

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Julien Grall wrote: On 06/02/2015 03:40, Parth Dixit wrote: +static int map_acpi_regions(struct domain *d) +{ +int res; + +res = acpi_map_mmio(d); +if ( res ) +return res; + +return 0; +} I don't think that

Re: [Xen-devel] pvSCSI test

2015-02-06 Thread Juergen Gross
On 02/06/2015 03:02 PM, Kristian Hagsted Rasmussen wrote: On Friday, February 6, 2015 10:57, Juergen Gross jgr...@suse.com wrote: To: Kristian Hagsted Rasmussen; Olaf Hering; xen-de...@lists.xensource.com Subject: Re: pvSCSI test On 02/06/2015 10:32 AM, Kristian Hagsted Rasmussen wrote: On

Re: [Xen-devel] [RFC PATCH V3 05/12] xen: Introduce vm_event

2015-02-06 Thread Tamas K Lengyel
On Fri, Feb 6, 2015 at 2:58 PM, Andrew Cooper andrew.coop...@citrix.com wrote: On 06/02/15 13:54, Tamas K Lengyel wrote: Please clarify in the patch description whether this (and perhaps other) copied or cloned code is really just a plain copy with some renaming, or whether there are any other

Re: [Xen-devel] [PATCH RFC 22/35] xen/arm: Create chosen node for DOM0

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Julien Grall wrote: Hi Stefano, On 06/02/2015 00:09, Stefano Stabellini wrote: On Wed, 4 Feb 2015, parth.di...@linaro.org wrote: From: Naresh Bhat naresh.b...@linaro.org Create a chosen node for DOM0 with - bootargs - rsdp Signed-off-by: Naresh

Re: [Xen-devel] [PATCH RFC 25/35] arm: acpi add helper functions to map memory regions

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Julien Grall wrote: On 06/02/2015 00:21, Stefano Stabellini wrote: On Thu, 5 Feb 2015, Julien Grall wrote: Hi parth, Title: this is not acpi specific. On 04/02/2015 14:02, parth.di...@linaro.org wrote: From: Parth Dixit parth.di...@linaro.org

Re: [Xen-devel] [PATCH RFC 31/35] arm : acpi map status override table to dom0

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Julien Grall wrote: On 06/02/2015 01:39, Stefano Stabellini wrote: On Thu, 5 Feb 2015, Julien Grall wrote: Hi Parth, On 05/02/2015 18:57, Parth Dixit wrote: On 5 February 2015 at 10:54, Julien Grall julien.gr...@linaro.org wrote: On 04/02/2015 14:02,

Re: [Xen-devel] [PATCH] x86/hvm: wait for at least one ioreq server to be enabled

2015-02-06 Thread Jan Beulich
On 06.02.15 at 13:27, paul.durr...@citrix.com wrote: In the case where a stub domain is providing emulation for an HVM guest, there is no interlock in the toolstack to make sure that the stub domain is up and running before the guest is unpaused. Prior to the introduction of ioreq servers

Re: [Xen-devel] [PATCHv5] x86/xen: allow privcmd hypercalls to be preempted

2015-02-06 Thread David Vrabel
On 06/02/15 00:50, Andy Lutomirski wrote: On Thu, Feb 5, 2015 at 4:41 AM, David Vrabel david.vra...@citrix.com wrote: Hypercalls submitted by user space tools via the privcmd driver can take a long time (potentially many 10s of seconds) if the hypercall has many sub-operations. + +void

Re: [Xen-devel] [PATCHv1] xen-blkback: default to X86_32 ABI on x86

2015-02-06 Thread David Vrabel
On 05/02/15 19:44, Konrad Rzeszutek Wilk wrote: On Thu, Feb 05, 2015 at 05:09:56PM +, David Vrabel wrote: Prior to the existance of 64-bit backends using the X86_64 ABI, frontends used the X86_32 ABI. These old frontends do not specify the ABI and when used with a 64-bit backend do not

[Xen-devel] [PATCH v4] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-06 Thread Ian Jackson
Some systems have python-config include -D_FORTIFY_SOURCE in the CFLAGS. But -D_FORTIFY_SOURCE does not (currently) work with -O0, and -O0 is enabled in debug builds (since 1166ecf781). As a result, on those systems, debug builds fail. Work around this problem as follows: * In configure,

Re: [Xen-devel] Xen's Linux kernel config options V2

2015-02-06 Thread Stefano Stabellini
On Thu, 5 Feb 2015, Luis R. Rodriguez wrote: On Wed, Feb 4, 2015 at 6:57 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Wed, 4 Feb 2015, David Vrabel wrote: On 16/12/14 16:21, Juergen Gross wrote: Hi, This is a design proposal for a rework of the config options on

Re: [Xen-devel] [PATCH 2/2] drivers: xen/block: add multi-page ring support

2015-02-06 Thread Bob Liu
On 02/06/2015 07:01 PM, Wei Liu wrote: On Fri, Feb 06, 2015 at 06:47:17PM +0800, Bob Liu wrote: On 02/02/2015 06:43 PM, Roger Pau Monné wrote: El 23/01/15 a les 10.14, Bob Liu ha escrit: Extend xen/block to support multi-page ring. * xen-blkback notify blkfront with

Re: [Xen-devel] [RFC PATCH V3 07/12] xen: Remove mem_event

2015-02-06 Thread Tamas K Lengyel
Did you look at the resulting patch to see what happened? It didn't remove the mem_event stuff, but adjusted it enough to become the vm_event one while removing the previously added vm_event part again. Another argument against this approach imo. Jan Hm, that is some strange git behavior.

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Eric Shelton
On Fri, Feb 6, 2015 at 9:59 AM, Wei Liu wei.l...@citrix.com wrote: On Fri, Feb 06, 2015 at 08:56:40AM -0500, Eric Shelton wrote: On Fri, Feb 6, 2015 at 6:16 AM, Wei Liu wei.l...@citrix.com wrote: I simply used the code already present in the QEMU upstream code, which is writing to that

Re: [Xen-devel] [RFC 3/7] linux-stubdomain: Build a disk image

2015-02-06 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Eric Shelton wrote: This patch builds a disk image intended to be mounted as rootfs by the Linux stub domain. It is assembled using dracut and genext2fs. Signed-off-by: Eric Shelton eshel...@pobox.com --- stubdom-linux/.gitignore | 4 ++

[Xen-devel] [PATCH] x86/hvm: explicitly mark ioreq server pages dirty...

2015-02-06 Thread Paul Durrant
...when they are added back into the guest physmap, when an ioreq server is disabled. If this is not done then the pages are missed during migration, causing ioreq server creation to fail on the remote end. This problem only manifests if the ioreq server is non-default because in the default case

Re: [Xen-devel] [RFC 1/7] linux-stubdomain: Compile QEMU

2015-02-06 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Eric Shelton wrote: This patch adds a Makefile which downloads, patches, and compiles upstream QEMU for a stubdomain based on a linux kernel. Signed-off-by: Eric Shelton eshel...@pobox.com --- stubdom-linux/.gitignore| 3 ++ stubdom-linux/Makefile

Re: [Xen-devel] [RFC 2/7] linux-stubdomain: Compile Linux

2015-02-06 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Eric Shelton wrote: This patch adds rules to the Makefile to retrieve Linux and build a minimal kernel for the stubdomain. Using Linux kernel 3.17.8. In order to work as a stubdomain, two patches are applied to the Linux kernel source. Similarly to QEMU, we should get

Re: [Xen-devel] [PATCH 0/2] libxl: fix handling of fd and timer registrations

2015-02-06 Thread Anthony PERARD
On Mon, Feb 02, 2015 at 05:00:34PM -0700, Jim Fehlig wrote: This small series fixes some assertions we occasionally see in the libxl driver when running libvirt-TCK. The assertions were due to races between destroying per-domain libxl_ctx and receiving fd and timer callbacks associated with

[Xen-devel] [PATCH] x86/hvm: wait for at least one ioreq server to be enabled

2015-02-06 Thread Paul Durrant
In the case where a stub domain is providing emulation for an HVM guest, there is no interlock in the toolstack to make sure that the stub domain is up and running before the guest is unpaused. Prior to the introduction of ioreq servers this was not a problem, since there was only ever one

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Jason Long
In your opinion, Can a normal user like me become a developer? I must first start learning C or Ocaml? Can you recommend a book for both to me? Can you tell me why developers choose Ocaml and C? and not C++ or Python? Cheers. On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen pa...@iki.fi

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Eric Shelton
On Fri, Feb 6, 2015 at 6:16 AM, Wei Liu wei.l...@citrix.com wrote: Thanks for posting. ... FWIW we are now experiencing problem with this startup protocol (not Linux stubdom specific) -- that path that libxl waiting for is wrong. I simply used the code already present in the QEMU upstream

Re: [Xen-devel] [RFC PATCH V3 05/12] xen: Introduce vm_event

2015-02-06 Thread Andrew Cooper
On 06/02/15 13:54, Tamas K Lengyel wrote: Please clarify in the patch description whether this (and perhaps other) copied or cloned code is really just a plain copy with some renaming, or whether there are any other changes. Reviewing this as a non-renaming change isn't time well spent in the

[Xen-devel] [PATCH v2] x86/hvm: wait for at least one ioreq server to be enabled

2015-02-06 Thread Paul Durrant
In the case where a stub domain is providing emulation for an HVM guest, there is no interlock in the toolstack to make sure that the stub domain is up and running before the guest is unpaused. Prior to the introduction of ioreq servers this was not a problem, since there was only ever one

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Wei Liu wrote: Unfortunately this problem can't be solved without putting in significant effort and time (involves redesign of protocol and handle all the compatibility issues). We can't say for sure when the solution is going to land. I noticed some discussion

Re: [Xen-devel] [RFC 4/7] libxl: Add stubdomain_version to domain_build_info.

2015-02-06 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Eric Shelton wrote: This enum gives the ability to select between a MiniOS-based QEMU traditional stub domain and a Linux-based QEMU upstream stub domain. To use the Linux-based stubdomain, the following two lines should be included in the appropriate xl.cfg file:

Re: [Xen-devel] [RFC 6/7] libxl: Build the domain with a Linux based stubdomain

2015-02-06 Thread Stefano Stabellini
On Tue, 3 Feb 2015, Eric Shelton wrote: This will build a Linux-based stubdomain with QEMU upstream. Signed-off-by: Eric Shelton eshel...@pobox.com --- tools/libxl/libxl.c | 25 -- tools/libxl/libxl_create.c | 7 ++- tools/libxl/libxl_dm.c | 108

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Eric Shelton
On Fri, Feb 6, 2015 at 10:36 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Fri, 6 Feb 2015, Wei Liu wrote: ISTR our policy is upstream first. That is, though we maintain our own qemu tree those changesets are all upstream changesets. Arguably there might be some bandaid

Re: [Xen-devel] question about memory allocation for driver domain

2015-02-06 Thread Oleksandr Tyshchenko
Hi Julien On Thu, Feb 5, 2015 at 6:36 PM, Oleksandr Tyshchenko oleksandr.tyshche...@globallogic.com wrote: On Thu, Feb 5, 2015 at 5:24 PM, Julien Grall julien.gr...@linaro.org wrote: Hi Oleksandr, Hi Julien On 05/02/2015 21:49, Oleksandr Tyshchenko wrote: On Thu, Feb 5, 2015 at 3:12 PM,

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Eric Shelton wrote: On Fri, Feb 6, 2015 at 10:36 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Fri, 6 Feb 2015, Wei Liu wrote: ISTR our policy is upstream first. That is, though we maintain our own qemu tree those changesets are all upstream

Re: [Xen-devel] [RFC 1/7] linux-stubdomain: Compile QEMU

2015-02-06 Thread Eric Shelton
On Fri, Feb 6, 2015 at 10:46 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Tue, 3 Feb 2015, Eric Shelton wrote: Before having patches, I would like to try to get them upstream in QEMU. If we really cannot do that, then I would still prefer to commit any required

Re: [Xen-devel] [RFC 1/7] linux-stubdomain: Compile QEMU

2015-02-06 Thread Stefano Stabellini
On Fri, 6 Feb 2015, Eric Shelton wrote: On Fri, Feb 6, 2015 at 10:46 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Tue, 3 Feb 2015, Eric Shelton wrote: Before having patches, I would like to try to get them upstream in QEMU. If we really cannot do that, then I would

Re: [Xen-devel] [PATCH v4] tools: work around collision of -O0 and -D_FORTIFY_SOURCE

2015-02-06 Thread Ian Jackson
Don Slutz writes (Re: [PATCH v4] tools: work around collision of -O0 and -D_FORTIFY_SOURCE): On 02/06/15 06:04, Ian Jackson wrote: Some systems have python-config include -D_FORTIFY_SOURCE in the CFLAGS. But -D_FORTIFY_SOURCE does not (currently) work with -O0, and -O0 is enabled in debug

Re: [Xen-devel] [RFC PATCH V3 11/12] xen/vm_event: Decouple vm_event and mem_access.

2015-02-06 Thread Tamas K Lengyel
On Wed, Feb 4, 2015 at 10:47 AM, Jan Beulich jbeul...@suse.com wrote: On 29.01.15 at 22:46, tamas.leng...@zentific.com wrote: --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -52,9 +52,10 @@ obj-y += tmem_xen.o obj-y += radix-tree.o obj-y += rbtree.o obj-y += lzo.o +obj-y +=

Re: [Xen-devel] [RFC PATCH V3 12/12] xen/vm_event: Check for VM_EVENT_FLAG_DUMMY only in Debug builds

2015-02-06 Thread Tamas K Lengyel
On Wed, Feb 4, 2015 at 6:59 AM, Tian, Kevin kevin.t...@intel.com wrote: From: Tamas K Lengyel [mailto:tamas.leng...@zentific.com] Sent: Friday, January 30, 2015 5:47 AM The flag is only used for debugging purposes, thus it should be only checked for in debug builds of Xen. Signed-off-by:

Re: [Xen-devel] [RFC PATCH V3 05/12] xen: Introduce vm_event

2015-02-06 Thread Tamas K Lengyel
On Tue, Feb 3, 2015 at 4:54 PM, Jan Beulich jbeul...@suse.com wrote: On 29.01.15 at 22:46, tamas.leng...@zentific.com wrote: --- a/docs/misc/xsm-flask.txt +++ b/docs/misc/xsm-flask.txt @@ -87,6 +87,7 @@ __HYPERVISOR_domctl (xen/include/public/domctl.h) * XEN_DOMCTL_set_machine_address_size

[Xen-devel] [qemu-mainline test] 34188: regressions - FAIL

2015-02-06 Thread xen . org
flight 34188 qemu-mainline real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34188/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-debianhvm-amd64 7 debian-hvm-install fail REGR. vs. 33480

Re: [Xen-devel] [PATCH v3 03/13] xen/dt: Extend dt_device_match to possibly store data

2015-02-06 Thread Stefano Stabellini
On Fri, 30 Jan 2015, Julien Grall wrote: Some drivers may want to configure differently the device depending on the compatible string. For this purpose, add a new field in the dt_device_match to store the data. Also modify the return type of dt_match_node to return the matching structure.

[Xen-devel] [PATCH] libxc: arm: use INVALID_P2M_ENTRY

2015-02-06 Thread Wei Liu
Albeit INVALID_P2M_ENTRY and INVALID_MFN are both ~0UL, conceptually speaking we should use INVALID_P2M_ENTRY for setting P2M values. Signed-off-by: Wei Liu wei.l...@citrix.com Cc: Ian Campbell ian.campb...@citrix.com Cc: Ian Jackson ian.jack...@eu.citrix.com Cc: Stefano Stabellini

Re: [Xen-devel] [PATCH v3 04/13] xen/arm: device: Rename device_type into device_class

2015-02-06 Thread Stefano Stabellini
On Fri, 30 Jan 2015, Julien Grall wrote: This enum was used for matching a specific class of device and not to get the type of device. Hence the name device_type will be used for another purpose later. Also rename device_get_type into device_get_class to reflect the change.

Re: [Xen-devel] [PATCH v3 06/13] xen/arm: Introduce a generic way to describe device

2015-02-06 Thread Stefano Stabellini
On Fri, 30 Jan 2015, Julien Grall wrote: Currently, Xen is supporting PCI and Platform device (based on Device Tree). While Xen only supports Platform device on ARM, Xen will gain support of PCI soon. Some drivers, such as IOMMU drivers, may handle PCI and platform device in the same way.

Re: [Xen-devel] [RFC PATCH V3 12/12] xen/vm_event: Check for VM_EVENT_FLAG_DUMMY only in Debug builds

2015-02-06 Thread Tamas K Lengyel
On Wed, Feb 4, 2015 at 10:49 AM, Jan Beulich jbeul...@suse.com wrote: On 29.01.15 at 22:46, tamas.leng...@zentific.com wrote: The flag is only used for debugging purposes, thus it should be only checked for in debug builds of Xen. So this should be where the respective conditional I just

Re: [Xen-devel] Xen Development for Dummies.

2015-02-06 Thread Pasi Kärkkäinen
On Fri, Feb 06, 2015 at 01:35:58PM +, Jason Long wrote: In your opinion, Can a normal user like me become a developer? I must first start learning C or Ocaml? Can you recommend a book for both to me? Can you tell me why developers choose Ocaml and C? and not C++ or Python? Xen

Re: [Xen-devel] [PATCH] x86/hvm: wait for at least one ioreq server to be enabled

2015-02-06 Thread Paul Durrant
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: 06 February 2015 14:45 To: Paul Durrant Cc: Andrew Cooper; Ian Campbell; Wei Liu; xen-devel@lists.xen.org; Keir (Xen.org) Subject: Re: [PATCH] x86/hvm: wait for at least one ioreq server to be enabled On

Re: [Xen-devel] [RFC 7/7] libxl: Wait for QEMU startup in stubdomain

2015-02-06 Thread Wei Liu
On Fri, Feb 06, 2015 at 08:56:40AM -0500, Eric Shelton wrote: On Fri, Feb 6, 2015 at 6:16 AM, Wei Liu wei.l...@citrix.com wrote: Thanks for posting. ... FWIW we are now experiencing problem with this startup protocol (not Linux stubdom specific) -- that path that libxl waiting for is

[Xen-devel] [xen-4.3-testing test] 34190: tolerable FAIL - PUSHED

2015-02-06 Thread xen . org
flight 34190 xen-4.3-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/34190/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemut-winxpsp3 7 windows-install fail like 33687 Tests which did not

Re: [Xen-devel] [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE [and 1 more messages]

2015-02-06 Thread Don Slutz
On 02/06/15 06:04, Ian Jackson wrote: Jan Beulich writes (Re: [PATCH] tools: work around collision of -O0 and -D_FORTIFY_SOURCE): Attached the patch I used for testing. While it works okay for me, I guess the configure part will need further taking care of the -Wp,-D... variant Don is

Re: [Xen-devel] [RESEND Patch V2 1/4] xen: build infrastructure for generating hypercall depending symbols

2015-02-06 Thread Juergen Gross
Hey, x86 maintainers! could you please comment? Juergen On 01/28/2015 06:11 AM, Juergen Gross wrote: *Ping* David wants a comment from the x86 maintainers. Juergen On 01/21/2015 08:49 AM, Juergen Gross wrote: Today there are several places in the kernel which build tables containing one

  1   2   >