Re: [Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 07:38:30AM -0600, Jan Beulich wrote: > >>> On 06.10.15 at 13:07, wrote: > > A majority of developers express interests in trying a shorter release > > cycle -- to change from 9 months to 6 months [0]. There are, however, > > repercussions on how we manage stable and possibl

Re: [Xen-devel] [PATCH v2 8/9] xen/arm: vgic: Introduce helpers to extract/update/clear/set vGIC register ...

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: > and use them in the vGIC emulation. > > The GIC registers may support different access sizes. Rather than open > coding the access for every registers, provide a set of helpers to access > them. > > The caller will have to call vgic_regN_*

[Xen-devel] [xen-4.4-testing test] 62665: regressions - FAIL

2015-10-06 Thread osstest service owner
flight 62665 xen-4.4-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/62665/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 16 guest-localmigrate/x10 fail in 62389 REGR. vs. 60727 Tes

Re: [Xen-devel] [PATCH v2 6/9] xen/arm: vgic: Introduce a new field to store the rank index and use it

2015-10-06 Thread Julien Grall
On 06/10/15 14:51, Ian Campbell wrote: > On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: >> Having in hand the index for the rank is very handy to avoid computing >> it everytime. > > "every time". > >> For now, use it when enabling/disabling the vIRQs rather than a formula >> which is not

Re: [Xen-devel] [PATCH v2 7/9] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: > Xen is currently directly storing the value of GICD_ITARGETSR register > (for GICv2) and GICD_IROUTER (for GICv3) in the rank. This makes the > emulation of the registers access very simple but makes the code to get > the target vCPU for a gi

Re: [Xen-devel] [PATCH v4 00/20] xen/arm64: Add support for 64KB page in Linux

2015-10-06 Thread Stefano Stabellini
On Tue, 6 Oct 2015, Roger Pau Monné wrote: > Do KVM guests also need such extensive set of modifications in order to > run using 64KB pages? I know it's not fair to compare KVM and Xen in > this regard, because the interfaces are very different, but that's what > developers are going to look at. Q

Re: [Xen-devel] [PATCH v2 3/9] xen/arm: io: Support sign-extension for every read access

2015-10-06 Thread Julien Grall
On 06/10/15 14:47, Ian Campbell wrote: > On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: >> [...] >> +/* >> + * Sign extend if required. >> + * Note that we expect the read handler to have zeroed the bit >> + * unused in the register. > > You were (correctly) going to change

Re: [Xen-devel] [PATCH v2 6/9] xen/arm: vgic: Introduce a new field to store the rank index and use it

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: > Having in hand the index for the rank is very handy to avoid computing > it everytime. "every time". > For now, use it when enabling/disabling the vIRQs rather than a formula > which is not obvious to understand. > > Also drop the comments

Re: [Xen-devel] [PATCH v2 5/9] xen/arm: vgic: Optimize the way to store GICD_IPRIORITYR in the rank

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: > Xen is currently directly storing the value of GICD_IPRIORITYR register > in the rank. This makes emulation of the register access very simple > but makes the code to get the priority for a given vIRQ more complex. > > While the priority of

Re: [Xen-devel] [PATCH v2 3/9] xen/arm: io: Support sign-extension for every read access

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:51 +0100, Julien Grall wrote: > [...] > +/* > + * Sign extend if required. > + * Note that we expect the read handler to have zeroed the bit > + * unused in the register. You were (correctly) going to change this to Note that we expect the read handler

Re: [Xen-devel] [PATCH v2 2/9] xen/arm: io: Extend write/read handler to pass the register in parameter

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 13:58 +0100, Julien Grall wrote: > On 05/10/15 13:51, Julien Grall wrote: > > Rather than letting each handler to retrieve the register used by the > > I/O access, add a new parameter to pass the register in parameter. > > > > This will help to implement generic register mani

Re: [Xen-devel] [PATCH v3] xen/arm: psci: use SMC64 function ID when available on ARM64

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 18:09 +0100, Julien Grall wrote: > Hi, > > On 05/10/15 17:38, Brijesh Singh wrote: > > As per PSCI 0.2 spec, if CPU_ON entry_point_address is 64-bit then SMC > > call function ID parameter should be set to SMC64 version. > > > > Signed-off-by: Brijesh Singh > > Reviewed-by

Re: [Xen-devel] [PATCH 1/2] MAINTAINERS: adding myself as co-maintainer of scheduling.

2015-10-06 Thread Dario Faggioli
On Tue, 2015-10-06 at 13:50 +0100, George Dunlap wrote: > On 03/10/15 02:58, Dario Faggioli wrote: > > Signed-off-by: Dario Faggioli > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -287,6 +287,7 @@ F: xen/common/sched_rt.c > > > > SCHEDULING > > M: George Dunlap > > +M: Dario Faggiol

Re: [Xen-devel] [PATCH] tools: remove unused wrappers for python

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 12:39 +0100, Wei Liu wrote: > And for the record, if my google-fu doesn't fail me, it's possible to > load shared library into python interpreter using "dl" module in 2.7 and > "ctypes" module in 3.x. Possible, but not especially convenient since you need to convert the C pr

Re: [Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 13:07, wrote: > A majority of developers express interests in trying a shorter release > cycle -- to change from 9 months to 6 months [0]. There are, however, > repercussions on how we manage stable and possible LTS releases. I find it kind of odd to try to answer question 2 (c

[Xen-devel] [PATCH OSSTEST v2 8/8] Debian: Use dtbs from kernel dist when booting that kernel

2015-10-06 Thread Ian Campbell
The kernel dist built by ts-kernel-build puts the corresponding dtbs into /boot/dtbs/$kvers. The host installer's dtbs remain in /boot/dtbs and are used when booting the native kernel. It's possible that this change will expose bugs which exist in the DTBs in previous kernel branches (3.18 and 4.

[Xen-devel] [PATCH OSSTEST v2 7/8] Debian: Enable interpolation in uboot_scr_load_dtb here doc

2015-10-06 Thread Ian Campbell
By switching <<'END' to < Acked-by: Ian Jackson --- v2: Call a backslash a backslash. --- Osstest/Debian.pm | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 9347c49..d56e410 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debi

[Xen-devel] [PATCH OSSTEST v2 5/8] ts-kernel-build: Add arm64 support

2015-10-06 Thread Ian Campbell
And to Osstest::%arch_debian2*. Untested (but hopefully pretty obvious). Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- Note that this replaces a hunk in "Add arm64 build and test jobs" --- Osstest.pm | 6 -- ts-kernel-build | 1 + 2 files changed, 5 insertions(+), 2 deletions

[Xen-devel] [PATCH OSSTEST v2 1/8] Osstest: Add %arch_debian2linux (and inverse)

2015-10-06 Thread Ian Campbell
Modelled after %arch_debian2xen. Will be used in ts-kernel-build. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- v2: Wrapped long line --- Osstest.pm | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index fc8334d..cbef3ff 100644 ---

[Xen-devel] [PATCH OSSTEST v2 3/8] ts-kernel-build: Refactor $archparams::DefConfig selection

2015-10-06 Thread Ian Campbell
This is always either "foo_defconfig" or "defconfig". Record only "foo" or undef and construct the name. This makes the $archparams less verbose. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- ts-kernel-build | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[Xen-devel] [PATCH OSSTEST v2 2/8] ts-kernel-build: Introduce global $parms

2015-10-06 Thread Ian Campbell
Which contains the relevant details from %archparms, making the use sites simpler. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- ts-kernel-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index f26eba8..3006eeb 100755 --- a

[Xen-devel] [PATCH OSSTEST v2 4/8] ts-kernel-build: Refactor $archparams KernelImage handling

2015-10-06 Thread Ian Campbell
This is always arch/$karch/boot/$img. Store $img in %archparms and use %arch_debian2linux to construct the full path as needed. This makes the $archparams less verbose. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- ts-kernel-build | 10 ++ 1 file changed, 6 insertions(+), 4 del

[Xen-devel] [PATCH OSSTEST v2 6/8] ts-kernel-build: Include dtbs in dist file

2015-10-06 Thread Ian Campbell
These are installed to $(INSTALL_PATH)/dtbs/$(KERNEL_RELEASE) where $(INSTALL_PATH) defaults to /boot but we override it to our staging /boot. Note that ts-host-install will install the OS dtbs directly into /boot/dtbs without the subdirectory, so this won't clash and could be considered a fallbac

Re: [Xen-devel] [PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs in dist file

2015-10-06 Thread Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs in dist file"): > I went with: > > + make $makeflags \\ > + INSTALL_PATH=$builddir/dist/boot \\ > + INSTALL_MOD_PATH=$builddir/dist \\ > + modules_install $dtbs_

[Xen-devel] [PATCH OSSTEST v2 0/8] Use the DTB provided by the kernel we are trying to boot

2015-10-06 Thread Ian Campbell
On ARM we have been booting using the DTBS provided by the host Debian kernel package (i.e. the ones from 3.16) even when we are booting a Xen+kernel which we have built ourselves. Recent Linux kernels (at least linux-next and linux-linus, perhaps mingo -tip too) have changes which are incompatibl

Re: [Xen-devel] [PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs in dist file

2015-10-06 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs in dist file"): > On Mon, 2015-10-05 at 17:22 +0100, Ian Jackson wrote: > > `modules_install' on the next line, to avoid hiding it in > > INSTALL_BLAH=. > > I did it that way because INSTALL_MOD_PATH is the variable which

Re: [Xen-devel] [PATCH OSSTEST 5/8] ts-kernel-build: Add arm64 support

2015-10-06 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH OSSTEST 5/8] ts-kernel-build: Add arm64 support"): > On Mon, 2015-10-05 at 17:20 +0100, Ian Jackson wrote: > > IWBN to double-check that the generated filename is correct before we > > try to push this. > > For arm64 specifically or for all arches? Just for arm64

Re: [Xen-devel] [PATCH v8] run QEMU as non-root

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 14:13 +0100, Stefano Stabellini wrote: > On Mon, 5 Oct 2015, Ian Campbell wrote: > > On Mon, 2015-10-05 at 16:53 +0100, Stefano Stabellini wrote: > > > > Wasn't there some code to plumb this into xl at one point? Did that > > > > get > > > > dropped along the way? > > > > > >

[Xen-devel] [GIT PULL] xen: bug fixes for 4.3-rc4

2015-10-06 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 for-linus-4.3b-rc4-tag xen: bug fixes for 4.3-rc4 - - Fix VM save performance regression with x86 PV guests. - - Make kexec work in x86 PVHVM gues

Re: [Xen-devel] [PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs in dist file

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 17:29 +0100, Ian Campbell wrote: > On Mon, 2015-10-05 at 17:22 +0100, Ian Jackson wrote: > > Ian Campbell writes ("[PATCH OSSTEST 6/8] ts-kernel-build: Include dtbs > > in dist file"): > > > These are installed to $(INSTALL_PATH)/dtbs/$(KERNEL_RELEASE) where > > > $(INSTALL_PA

Re: [Xen-devel] [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 14:06 +0100, Andrew Cooper wrote: > On 06/10/15 13:58, Wei Liu wrote: > > On Tue, Oct 06, 2015 at 01:52:16PM +0100, Andrew Cooper wrote: > > > On 06/10/15 12:35, Juergen Gross wrote: > > > > In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is > > > > currently > > >

Re: [Xen-devel] [PATCH v8] run QEMU as non-root

2015-10-06 Thread Stefano Stabellini
On Mon, 5 Oct 2015, Ian Campbell wrote: > On Mon, 2015-10-05 at 16:53 +0100, Stefano Stabellini wrote: > > > Wasn't there some code to plumb this into xl at one point? Did that get > > > dropped along the way? > > > > device_model_user is added to the idl by this patch, I think that is > > enough,

Re: [Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 12:07:58PM +0100, Wei Liu wrote: > Hi all > > A majority of developers express interests in trying a shorter release > cycle -- to change from 9 months to 6 months [0]. There are, however, > repercussions on how we manage stable and possible LTS releases. > > I start this

Re: [Xen-devel] RFC: change to 6 months release cycle

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 07:03:28AM -0600, Jan Beulich wrote: > >>> On 05.10.15 at 18:22, wrote: > > FWIW current scheme (last 3 releases as stable releases) means a release > > is supported for at least 27 months (well, let's forget about the > > possibility of releasing a version earlier than exp

Re: [Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 12:07 +0100, Wei Liu wrote: > 2. What to do with the non-LTS releases? > > I think they should still be considered stable releases for some > time. I'm just not sure for how long they should receive updates. One > way of looking at them is to use the same concept as Linux --

Re: [Xen-devel] [PATCH] tools: libxl: allow permissive qemu-upstream pci passthrough.

2015-10-06 Thread Stefano Stabellini
All the QEMU side XSA-131 patches are already in the qemu-xen 4.3, 4.4 and 4.5 trees. On Tue, 6 Oct 2015, Ian Campbell wrote: > Ian, Can you backport this to 4.5 and earlier please. > > On Fri, 2015-07-03 at 15:49 +0100, Ian Campbell wrote: > > On Tue, 2015-06-02 at 16:47 +0100, Ian Campbell wrot

Re: [Xen-devel] [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c

2015-10-06 Thread Andrew Cooper
On 06/10/15 13:58, Wei Liu wrote: > On Tue, Oct 06, 2015 at 01:52:16PM +0100, Andrew Cooper wrote: >> On 06/10/15 12:35, Juergen Gross wrote: >>> In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is currently >>> being used by an in-tree component (qemu-xen). All other functions are >>> su

Re: [Xen-devel] [RFC 00/29] Incomplete Kconfig conversion

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 17:03 -0500, Doug Goldstein wrote: > Ultimately my goal is to allow for more parts of the hypervisor to be turned > off at compile time and potentially make it easier to include more > experimental features by others which can be turned off by default. Also to > provide the on

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Stefano Stabellini
On Tue, 6 Oct 2015, Jan Beulich wrote: > > In fact some of the feedback from the survey suggests that the > > disagreements > > that are highlighted after some time has passed cause the most grievances. > > I'm not sure I understand: How is late disagreement any worse > than immediate one? It

Re: [Xen-devel] RFC: change to 6 months release cycle

2015-10-06 Thread Jan Beulich
>>> On 05.10.15 at 18:22, wrote: > FWIW current scheme (last 3 releases as stable releases) means a release > is supported for at least 27 months (well, let's forget about the > possibility of releasing a version earlier than expected for now because > it never happened before). Where did you fin

Re: [Xen-devel] [PATCH v1 1/5] xsplice: Design document.

2015-10-06 Thread Ross Lagerwall
On 09/16/2015 10:01 PM, Konrad Rzeszutek Wilk wrote: +### xSplice interdependencies + +xSplice patches interdependencies are tricky. + +There are the ways this can be addressed: + * A single large patch that subsumes and replaces all previous ones. + Over the life-time of patching the hyperviso

Re: [Xen-devel] [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 01:52:16PM +0100, Andrew Cooper wrote: > On 06/10/15 12:35, Juergen Gross wrote: > > In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is currently > > being used by an in-tree component (qemu-xen). All other functions are > > superfluous wrappers of the domain buil

Re: [Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread George Dunlap
On 06/10/15 12:07, Wei Liu wrote: > Hi all > > A majority of developers express interests in trying a shorter release > cycle -- to change from 9 months to 6 months [0]. There are, however, > repercussions on how we manage stable and possible LTS releases. > > I start this thread hoping it's clea

Re: [Xen-devel] [RFC 03/29] build: hookup initial Kconfig usage

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 00:03, wrote: > Wire in the Kconfig build and makefile rules to be able to generate > valid configuration files to be used by the build process. > > Signed-off-by: Doug Goldstein > --- > .gitignore| 8 > xen/Kconfig | 26 +++

Re: [Xen-devel] [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c

2015-10-06 Thread Andrew Cooper
On 06/10/15 12:35, Juergen Gross wrote: > In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is currently > being used by an in-tree component (qemu-xen). All other functions are > superfluous wrappers of the domain builder which can be removed. > > Suggested-by: Ian Campbell > Signed-off-

Re: [Xen-devel] [PATCH 1/2] MAINTAINERS: adding myself as co-maintainer of scheduling.

2015-10-06 Thread George Dunlap
On 03/10/15 02:58, Dario Faggioli wrote: > Signed-off-by: Dario Faggioli > --- > Cc: George Dunlap > --- > MAINTAINERS |1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index f008a8c..b612e06 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -287,6 +287,7

[Xen-devel] [PATCH OSSTEST v2 8/8] Switch to Debian 8.0 (jessie) as OS for test hosts

2015-10-06 Thread Ian Campbell
mg-debian-installer-update-all has been run on the production instance and TftpDiVersion is also updated to match. The resulting binaries have also been copied to the Cambridge instance, so update Cambridge config too. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- --- Osstest.pm

[Xen-devel] [PATCH OSSTEST v2 7/8] ts-freebsd-install: Pass -s option to kpartx

2015-10-06 Thread Ian Campbell
This is "Sync mode. Don't return until the partitions are created", which seems to be needed in Jessie. The option also exists in Wheezy, according to the manpage. Without this the following mount fails having apparently raced against the creation of the device nodes. Signed-off-by: Ian Campbell

[Xen-devel] [PATCH OSSTEST v2 4/8] TestSupport: Remove now unused target_guest_lv_name.

2015-10-06 Thread Ian Campbell
Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- Osstest/TestSupport.pm | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index d8c5762..69da459 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -63,7

[Xen-devel] [PATCH OSSTEST v2 2/8] TestSupport: Use lv_dev_mapper in guest_find_lv

2015-10-06 Thread Ian Campbell
This has the effect of switching $gho->{Lvdev} from /dev/$VG/$LV to /dev/mapper/$VG-$LV (where $VG and $LV have an s/-/--/ transformation applied). The two paths point to the samedevice and most call sites don't care about the distinction. Some places which use "kpartx $dev" to Lvdev expect to be

[Xen-devel] [PATCH OSSTEST v2 6/8] ts-debian-di-install: Use correct per-arch name for kernel.

2015-10-06 Thread Ian Campbell
The x86 and arm kernels are inconsistently named upstream, and then renamed in mg-debian-installer-update as: == KERNEL == INITRD == Debian Osstest Debian Osstest ------

[Xen-devel] [PATCH OSSTEST v2 3/8] ts-freebsd-install: Use $gho->{Lvdev} instead of target_guest_lv_name

2015-10-06 Thread Ian Campbell
prepareguest has already assigned this so we should use it instead of replicating (perhaps wrongly since target_guest_lv_name and target_choose_vg can behave differently if multiple vgs are present). $gho->{Lvdev} has been adjusted to return /dev/mapper/vg-lv paths which is required to be able to

[Xen-devel] [PATCH OSSTEST v2 1/8] Debian: uboot: Use di_vg_name() and lv_dev_mapper() for root=

2015-10-06 Thread Ian Campbell
root is not a "guest lv", so using target_guest_lv_name is misleading. target_guest_lv_name also fails to properly handle the d-i vg name correctly, which di_vg_name does. Specifically under Jessie an extra "-vg" is appended to the hostname compared with Wheezy and Squeeze. Signed-off-by: Ian Cam

[Xen-devel] [PATCH OSSTEST v2 5/8] ts-kernel-build: Explicitly enable CONFIG_CGROUPS

2015-10-06 Thread Ian Campbell
This is not enabled in the arm defconfig (it is in x86) and without it a Debian Jessie userspace with systemd fails to boot with: systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: No such file or directory While we arrange to use sysvinit in the host and in d-i installed guests we do not do so

[Xen-devel] [PATCH OSSTEST v2 0/8] Fixes for switching to Jessie as base OS for test hosts

2015-10-06 Thread Ian Campbell
Compared with last time there are a few new patches to fix things I noticed while testing and the prerequisites for actually deploying (f/w fix on arndale and git cache) are now addressed. It remains the case that the first 7 patches are OK to go in now and the final one to do the switch should per

Re: [Xen-devel] [RFC 01/29] build: import Kbuild/Kconfig from Linux 4.2

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 00:03, wrote: > Brings in the Kbuild/Kconfig plumbing from the Linux 4.2 release. > > Signed-off-by: Doug Goldstein > --- > xen/Makefile.linux | 1596 +++ > xen/include/linux/kconfig.h| 54 + > xen/scripts/Kbuild.i

Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 02:25:39PM +0200, Sander Eikelenboom wrote: > On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote: > >On October 6, 2015 7:26:35 AM EDT, Wei Liu wrote: > >>On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote: > >>>Hi, > >>> > >>>Today i tried building installing

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 06:25 -0600, Jan Beulich wrote: > > > > On 06.10.15 at 12:26, wrote: > > Now arguably any maintainer of a piece of libxl ought to be familiar with > > all of that. But, personally I don't think that is very reasonable either > > as a burden for those feature maintainers or pa

Re: [Xen-devel] [RFC 02/29] build: trim down Linux bits

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 00:03, wrote: Changes like this should be explained: > Signed-off-by: Doug Goldstein > --- > xen/scripts/basic/.gitignore | 1 - > xen/scripts/basic/Makefile | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/xen/scripts/basic/.gitignore b/xen/scripts/basic/.gitign

Re: [Xen-devel] [RFC 05/29] build: convert HAS_PASSTHROUGH use to Kconfig

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 11:47, wrote: > On 05/10/15 23:03, Doug Goldstein wrote: >> Use the Kconfig generated HAS_PASSTHROUGH defines for the code base. >> >> Signed-off-by: Doug Goldstein >> > > Moving to a Kconfig style of selecting features changes the meaning of > our HAS_ prefix. > > IMO, the H

Re: [Xen-devel] [RFC 03/29] build: hookup initial Kconfig usage

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 11:58, wrote: > On 05/10/15 23:03, Doug Goldstein wrote: >> new file mode 100644 >> index 000..e69de29 >> diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig >> new file mode 100644 >> index 000..5e34f4e >> --- /dev/null >> +++ b/xen/arch/x86/Kconfig >> @@ -0,0 +1,2

Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Konrad Rzeszutek Wilk
On October 6, 2015 8:25:39 AM EDT, Sander Eikelenboom wrote: >On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote: >> On October 6, 2015 7:26:35 AM EDT, Wei Liu >wrote: >>> On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote: Hi, Today i tried building installing a fr

Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Sander Eikelenboom
On 2015-10-06 13:52, Konrad Rzeszutek Wilk wrote: On October 6, 2015 7:26:35 AM EDT, Wei Liu wrote: On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote: Hi, Today i tried building installing a fresh clone of Xen 4.6.0 (to be) on a minimal Debian Jessie install. The package li

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 12:26, wrote: > Now arguably any maintainer of a piece of libxl ought to be familiar with > all of that. But, personally I don't think that is very reasonable either > as a burden for those feature maintainers or particularly as a strategy for > ensuring the library remains cohe

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 00:31, wrote: >> On 5 Oct 2015, at 15:32, Jan Beulich wrote: >> Of course >> that doesn't rule out the wider scope maintainer requesting >> changes despite the other's ack, but that's symmetrical: For a >> change to go in, no maintainer should disagree (and in fact >> reasonabl

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Jan Beulich
>>> On 06.10.15 at 11:36, wrote: > On Tue, 2015-10-06 at 10:19 +0100, George Dunlap wrote: >> On Mon, Oct 5, 2015 at 11:31 PM, Lars Kurth >> > I also think that for some areas of code (e.g. if experimental and >> > sufficiently modular) a more relaxed approach may well be acceptable >> > until it

Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Konrad Rzeszutek Wilk
On October 6, 2015 7:26:35 AM EDT, Wei Liu wrote: >On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote: >> Hi, >> >> Today i tried building installing a fresh clone of Xen 4.6.0 (to be) >on a >> minimal Debian Jessie install. >> The package list in the README seems to be missing "l

Re: [Xen-devel] [PATCH] tools: remove unused wrappers for python

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 01:33:54PM +0200, Juergen Gross wrote: > On 10/06/2015 01:18 PM, Wei Liu wrote: > >On Tue, Oct 06, 2015 at 12:46:08PM +0200, Juergen Gross wrote: > >>Remove lots of functions in tools/python/xen/lowlevel/xc/xc.c as they > >>are not used anywhere in the tree. In fact only one

[Xen-devel] [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c

2015-10-06 Thread Juergen Gross
In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is currently being used by an in-tree component (qemu-xen). All other functions are superfluous wrappers of the domain builder which can be removed. Suggested-by: Ian Campbell Signed-off-by: Juergen Gross --- tools/libxc/include/xengues

Re: [Xen-devel] [PATCH] tools: remove unused wrappers for python

2015-10-06 Thread Juergen Gross
On 10/06/2015 01:18 PM, Wei Liu wrote: On Tue, Oct 06, 2015 at 12:46:08PM +0200, Juergen Gross wrote: Remove lots of functions in tools/python/xen/lowlevel/xc/xc.c as they are not used anywhere in the tree. In fact only one function is still being used from pygrub, namely "xeninfo". All other us

Re: [Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 01:19:17PM +0200, Sander Eikelenboom wrote: > Hi, > > Today i tried building installing a fresh clone of Xen 4.6.0 (to be) on a > minimal Debian Jessie install. > The package list in the README seems to be missing "libc6-dev-i386" which > seems to be needed for a default bu

[Xen-devel] [xen 4.6.0 to be] Readme missing 32bit as dependency for a default build on Debian Jessie

2015-10-06 Thread Sander Eikelenboom
Hi, Today i tried building installing a fresh clone of Xen 4.6.0 (to be) on a minimal Debian Jessie install. The package list in the README seems to be missing "libc6-dev-i386" which seems to be needed for a default build (.configure && make && make install) which also builds 32-bit pieces.

Re: [Xen-devel] [PATCH] tools: remove unused wrappers for python

2015-10-06 Thread Wei Liu
On Tue, Oct 06, 2015 at 12:46:08PM +0200, Juergen Gross wrote: > Remove lots of functions in tools/python/xen/lowlevel/xc/xc.c as they > are not used anywhere in the tree. In fact only one function is still > being used from pygrub, namely "xeninfo". All other users seem to have > gone with nuking

[Xen-devel] RFC: LTS and stable release scheme

2015-10-06 Thread Wei Liu
Hi all A majority of developers express interests in trying a shorter release cycle -- to change from 9 months to 6 months [0]. There are, however, repercussions on how we manage stable and possible LTS releases. I start this thread hoping it's clearer that downstream consumers like distributions

Re: [Xen-devel] pyxc_linux_build() in tools/python/xen/lowlevel/xc/xc.c still needed?

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 12:56 +0200, Juergen Gross wrote: > On 10/06/2015 10:56 AM, Ian Campbell wrote: > > On Tue, 2015-10-06 at 08:33 +0200, Juergen Gross wrote: > > > Do we have any requirements to be compatible to old releases > > > regarding > > > the functions in tools/python/xen/lowlevel/xc/xc

Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices

2015-10-06 Thread George Dunlap
On 05/10/15 10:34, Andrew Cooper wrote: > On 02/10/15 16:48, Roger Pau Monne wrote: >> Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or >> disabling specific devices emulated inside of Xen for HVM guests. >> >> Signed-off-by: Roger Pau Monné >> Acked-by: Wei Liu >> Cc: Ian

Re: [Xen-devel] pyxc_linux_build() in tools/python/xen/lowlevel/xc/xc.c still needed?

2015-10-06 Thread Juergen Gross
On 10/06/2015 10:56 AM, Ian Campbell wrote: On Tue, 2015-10-06 at 08:33 +0200, Juergen Gross wrote: Do we have any requirements to be compatible to old releases regarding the functions in tools/python/xen/lowlevel/xc/xc.c ? IMHO, no. There are also too many compatibility shims in front of the

Re: [Xen-devel] [linux-3.18 test] 62651: regressions - FAIL

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 04:21 +, osstest service owner wrote: > flight 62651 linux-3.18 real [real] > http://logs.test-lab.xenproject.org/osstest/logs/62651/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > test-amd64-i386-qemut-

[Xen-devel] [linux-linus test] 62663: regressions - FAIL

2015-10-06 Thread osstest service owner
flight 62663 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/62663/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-cubietruck 6 xen-bootfail REGR. vs. 59254 test-armhf-armhf-xl

[Xen-devel] [PATCH] tools: remove unused wrappers for python

2015-10-06 Thread Juergen Gross
Remove lots of functions in tools/python/xen/lowlevel/xc/xc.c as they are not used anywhere in the tree. In fact only one function is still being used from pygrub, namely "xeninfo". All other users seem to have gone with nuking xm/xend. Signed-off-by: Juergen Gross --- tools/python/xen/lowlevel/

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Ian Campbell
On Mon, 2015-10-05 at 08:32 -0600, Jan Beulich wrote: > > ! It appears to me that the idea of nested ownership, would maybe be clearer > > ! and better set expectations. It is also consistent with the expectation > > ! of "meritocracy". This may in turn may better set expectations > > ! for contri

Re: [Xen-devel] [RFC 27/29] build: convert HAS_GICV3 use to Kconfig

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 10:56 +0100, George Dunlap wrote: > On Mon, Oct 5, 2015 at 11:25 PM, Julien Grall > wrote: > > Hi, > > > > On 05/10/2015 23:03, Doug Goldstein wrote: > > > > > > Use the Kconfig generated CONFIG_HAS_GICV3 defines in the code base. > > > > > > If you are going to rename al

Re: [Xen-devel] [RFC 00/29] Incomplete Kconfig conversion

2015-10-06 Thread Andrew Cooper
On 06/10/15 11:15, Julien Grall wrote: > Hi Doug, > > On 05/10/2015 23:03, Doug Goldstein wrote: >> Ultimately my goal is to allow for more parts of the hypervisor to be >> turned >> off at compile time and potentially make it easier to include more >> experimental features by others which can be t

Re: [Xen-devel] [PATCH v4 00/20] xen/arm64: Add support for 64KB page in Linux

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 11:28 +0200, Roger Pau Monné wrote: > El 22/09/15 a les 12.59, Ian Campbell ha escrit: > > On Mon, 2015-09-14 at 17:23 +0200, Roger Pau Monné wrote: > > > I'm not saying that we shouldn't take those patches, I'm just saying > > > that IMHO this is a workaround, and I would lik

Re: [Xen-devel] [RFC 00/29] Incomplete Kconfig conversion

2015-10-06 Thread Julien Grall
Hi Doug, On 05/10/2015 23:03, Doug Goldstein wrote: Ultimately my goal is to allow for more parts of the hypervisor to be turned off at compile time and potentially make it easier to include more experimental features by others which can be turned off by default. Also to provide the one true loc

Re: [Xen-devel] [PATCH 2/2] block/xen-blkfront: Handle non-indirect grant with 64KB pages

2015-10-06 Thread Roger Pau Monné
El 06/10/15 a les 11.58, Julien Grall ha escrit: > Hi Roger, > > On 06/10/2015 10:39, Roger Pau Monné wrote: >> El 05/10/15 a les 19.05, Julien Grall ha escrit: >>> On 05/10/15 17:01, Roger Pau Monné wrote: El 11/09/15 a les 21.32, Julien Grall ha escrit: > ring_req->u.rw.nr_seg

Re: [Xen-devel] [RFC 27/29] build: convert HAS_GICV3 use to Kconfig

2015-10-06 Thread George Dunlap
On 06/10/15 11:02, Julien Grall wrote: > > > On 06/10/2015 10:56, George Dunlap wrote: >> On Mon, Oct 5, 2015 at 11:25 PM, Julien Grall >> wrote: >>> Hi, >>> >>> On 05/10/2015 23:03, Doug Goldstein wrote: Use the Kconfig generated CONFIG_HAS_GICV3 defines in the code base. >>> >>> >>>

Re: [Xen-devel] pyxc_linux_build() in tools/python/xen/lowlevel/xc/xc.c still needed?

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 10:34 +0100, Andrew Cooper wrote: > On 06/10/15 10:32, Andrew Cooper wrote: > > On 06/10/15 10:11, Roger Pau Monné wrote: > > > El 06/10/15 a les 10.56, Ian Campbell ha escrit: > > > > On Tue, 2015-10-06 at 08:33 +0200, Juergen Gross wrote: > > > > > Do we have any requirement

Re: [Xen-devel] [RFC 27/29] build: convert HAS_GICV3 use to Kconfig

2015-10-06 Thread Julien Grall
On 06/10/2015 10:56, George Dunlap wrote: On Mon, Oct 5, 2015 at 11:25 PM, Julien Grall wrote: Hi, On 05/10/2015 23:03, Doug Goldstein wrote: Use the Kconfig generated CONFIG_HAS_GICV3 defines in the code base. If you are going to rename all HAS_* to CONFIG_HAS_, please drop the HAS whi

Re: [Xen-devel] [PATCH 2/2] block/xen-blkfront: Handle non-indirect grant with 64KB pages

2015-10-06 Thread Julien Grall
Hi Roger, On 06/10/2015 10:39, Roger Pau Monné wrote: El 05/10/15 a les 19.05, Julien Grall ha escrit: On 05/10/15 17:01, Roger Pau Monné wrote: El 11/09/15 a les 21.32, Julien Grall ha escrit: ring_req->u.rw.nr_segments = num_grant; + if (unlikely(require_extra_

Re: [Xen-devel] [RFC 03/29] build: hookup initial Kconfig usage

2015-10-06 Thread Andrew Cooper
On 05/10/15 23:03, Doug Goldstein wrote: > new file mode 100644 > index 000..e69de29 > diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig > new file mode 100644 > index 000..5e34f4e > --- /dev/null > +++ b/xen/arch/x86/Kconfig > @@ -0,0 +1,28 @@ > +# Select 32 or 64 bit > +config 64BI

Re: [Xen-devel] [RFC 27/29] build: convert HAS_GICV3 use to Kconfig

2015-10-06 Thread George Dunlap
On Mon, Oct 5, 2015 at 11:25 PM, Julien Grall wrote: > Hi, > > On 05/10/2015 23:03, Doug Goldstein wrote: >> >> Use the Kconfig generated CONFIG_HAS_GICV3 defines in the code base. > > > If you are going to rename all HAS_* to CONFIG_HAS_, please drop the HAS > which is now redundant. > >> >> Sign

Re: [Xen-devel] [RFC 05/29] build: convert HAS_PASSTHROUGH use to Kconfig

2015-10-06 Thread Andrew Cooper
On 05/10/15 23:03, Doug Goldstein wrote: > Use the Kconfig generated HAS_PASSTHROUGH defines for the code base. > > Signed-off-by: Doug Goldstein > Moving to a Kconfig style of selecting features changes the meaning of our HAS_ prefix. IMO, the HAS_ should disappear in the conversion, as the CON

Re: [Xen-devel] [PATCH for-4.6] xen/public: arm: Use __typeof__ rather than typeof

2015-10-06 Thread Julien Grall
On 05/10/2015 14:40, Wei Liu wrote: On Sun, Oct 04, 2015 at 08:24:02PM +0100, Julien Grall wrote: The keyword typeof is not portable: /usr/src/freebsd/sys/xen/hypervisor.h:93:2: error: implicit declaration of function 'typeof' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Signe

Re: [Xen-devel] [RFC 00/29] Incomplete Kconfig conversion

2015-10-06 Thread Andrew Cooper
On 06/10/15 10:39, Andrew Cooper wrote: > On 05/10/15 23:03, Doug Goldstein wrote: >> This is very incomplete and is only posted in hopes of getting some feedback >> if this conversion is welcome by the community. There are a few different >> ways I can go from here. >> >> * convert all of include/

Re: [Xen-devel] [PATCH 2/2] block/xen-blkfront: Handle non-indirect grant with 64KB pages

2015-10-06 Thread Roger Pau Monné
El 05/10/15 a les 19.05, Julien Grall ha escrit: > On 05/10/15 17:01, Roger Pau Monné wrote: >> El 11/09/15 a les 21.32, Julien Grall ha escrit: >>> The minimal size of request in the block framework is always PAGE_SIZE. >>> It means that when 64KB guest is support, the request will at least be >>>

Re: [Xen-devel] [RFC 00/29] Incomplete Kconfig conversion

2015-10-06 Thread Andrew Cooper
On 05/10/15 23:03, Doug Goldstein wrote: > This is very incomplete and is only posted in hopes of getting some feedback > if this conversion is welcome by the community. There are a few different > ways I can go from here. > > * convert all of include/$(ARCH)/config.h > * move this to the top level

[Xen-devel] [linux-3.14 baseline-only test] 38127: regressions - FAIL

2015-10-06 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 38127 linux-3.14 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/38127/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-vhd 20 guest-start/debia

Re: [Xen-devel] Survey Results - Part 1 : Improving Xen Project Governance and Conventions

2015-10-06 Thread Ian Campbell
On Tue, 2015-10-06 at 10:19 +0100, George Dunlap wrote: > On Mon, Oct 5, 2015 at 11:31 PM, Lars Kurth > > I also think that for some areas of code (e.g. if experimental and > > sufficiently modular) a more relaxed approach may well be acceptable > > until it is more widely adopted. Maybe we can al

Re: [Xen-devel] pyxc_linux_build() in tools/python/xen/lowlevel/xc/xc.c still needed?

2015-10-06 Thread Andrew Cooper
On 06/10/15 10:32, Andrew Cooper wrote: > On 06/10/15 10:11, Roger Pau Monné wrote: >> El 06/10/15 a les 10.56, Ian Campbell ha escrit: >>> On Tue, 2015-10-06 at 08:33 +0200, Juergen Gross wrote: Do we have any requirements to be compatible to old releases regarding the functions in tools

<    1   2   3   >