[Xen-devel] [xen-unstable test] 112349: regressions - trouble: blocked/broken/fail/pass

2017-07-28 Thread osstest service owner
flight 112349 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/112349/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 2 hosts-allocate broken REGR. vs. 112286 build-arm64-pvops

Re: [Xen-devel] [PATCH v4 4/4] Xentrace: add support for HVM's PI blocking list operation

2017-07-28 Thread Chao Gao
On Fri, Jul 21, 2017 at 05:26:47PM +0100, George Dunlap wrote: >On Fri, Jul 7, 2017 at 7:49 AM, Chao Gao wrote: >> In order to analyze PI blocking list operation frequence and obtain >> the list length, add some relevant events to xentrace and some >> associated code in xenalyze. Event ASYNC_PI_LI

[Xen-devel] [distros-debian-jessie test] 71901: regressions - trouble: blocked/broken/fail/pass

2017-07-28 Thread Platform Team regression test user
flight 71901 distros-debian-jessie real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/71901/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-armhf-jessie-netboot-pygrub 10 debian-di-install fail REGR. vs. 71712

Re: [Xen-devel] [PATCH] xen: selfballoon: remove unnecessary static in frontswap_selfshrink()

2017-07-28 Thread Juergen Gross
On 04/07/17 20:34, Gustavo A. R. Silva wrote: > Remove unnecessary static on local variables last_frontswap_pages and > tgt_frontswap_pages. Such variables are initialized before being used, > on every execution path throughout the function. The statics have no > benefit and, removing them reduce t

Re: [Xen-devel] [PATCH 4/4] xen: Drop un-informative message during boot

2017-07-28 Thread Juergen Gross
On 20/07/17 13:04, Punit Agrawal wrote: > On systems that are not booted as a Xen domain, the xenfs driver prints > the following message during boot. > > [3.460595] xenfs: not registering filesystem on non-xen platform > > As the user chose not to boot a Xen domain, this message does not > p

Re: [Xen-devel] [RFC PATCH v3 23/24] NUMA: Move CONFIG_NUMA to common Kconfig

2017-07-28 Thread Jan Beulich
>>> Julien Grall 07/18/17 6:25 PM >>> >On 18/07/17 12:41, vijay.kil...@gmail.com wrote: >> --- a/xen/common/Kconfig >> +++ b/xen/common/Kconfig >> @@ -41,6 +41,10 @@ config HAS_GDBSX >> config HAS_IOPORTS >> bool >> >> +config NUMA >> +def_bool y >> +depends on HAS_PDX > >On previous

Re: [Xen-devel] [RFC PATCH v3 01/24] NUMA: Make number of NUMA nodes configurable

2017-07-28 Thread Jan Beulich
>>> Wei Liu 07/18/17 5:30 PM >>> >On Tue, Jul 18, 2017 at 05:11:23PM +0530, vijay.kil...@gmail.com wrote: >> --- a/xen/arch/Kconfig >> +++ b/xen/arch/Kconfig >> @@ -6,3 +6,10 @@ config NR_CPUS >> default "128" if ARM >> ---help--- >>Specifies the maximum number of physical CPUs w

[Xen-devel] [PATCH v2 2/3] xen: split up xen_hvm_init_shared_info()

2017-07-28 Thread Juergen Gross
Instead of calling xen_hvm_init_shared_info() on boot and resume split it up into a boot time function searching for the pfn to use and a mapping function doing the hypervisor mapping call. Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_hvm.c | 45 +++

[Xen-devel] [PATCH v2 3/3] xen: fix hvm guest with kaslr enabled

2017-07-28 Thread Juergen Gross
A Xen HVM guest running with KASLR enabled will die rather soon today due to the shared info page mapping is using va() too early. This was introduced by commit a5d5f328b0e2baa5ee7c119fd66324eb79eeeb66 ("xen: allocate page for shared info page from low memory"). In order to fix this use early_memr

[Xen-devel] [PATCH v2 0/3] fix xen hvm guest with kaslr enabled

2017-07-28 Thread Juergen Gross
This patch series fixes a regression introduced in 4.13-rc1: A Xen HVM guest with KASLR enabled wouldn't boot any longer due to the usage of __va() before kernel_randomize_memory() was called. Changes in V2: - patch 1: test for x86_hyper being not NULL Juergen Gross (3): x86: provide an init_me

[Xen-devel] [PATCH v2 1/3] x86: provide an init_mem_mapping hypervisor hook

2017-07-28 Thread Juergen Gross
Provide a hook in hypervisor_x86 called after setting up initial memory mapping. This is needed e.g. by Xen HVM guests to map the hypervisor shared info page. Signed-off-by: Juergen Gross --- arch/x86/include/asm/hypervisor.h | 10 ++ arch/x86/mm/init.c| 3 +++ 2 files

[Xen-devel] [OSSTEST PATCH] arm64: tolerate host allocation failures

2017-07-28 Thread Ian Jackson
We have no working ARM64 hardware right now. Stop blocking things. (Arguably this ought to be done in general for all arches, but actually bugs in the flight construction code can cause this too, and we wouldn't want such a regression to pass the osstest self-push-gate.) CC: Julien Grall CC: St

Re: [Xen-devel] [PATCH v4 2/9] x86/mmcfg: add handlers for the PVH Dom0 MMCFG areas

2017-07-28 Thread Jan Beulich
>>> Roger Pau Monné 07/14/17 6:34 PM >>> >On Thu, Jul 13, 2017 at 02:15:26PM -0600, Jan Beulich wrote: >> >>> Roger Pau Monne 06/30/17 5:02 PM >>> >> > @@ -1041,6 +1043,24 @@ static int __init pvh_setup_acpi(struct domain *d, >> > paddr_t start_info) >> > return 0; >> > } >> > >> > +int

Re: [Xen-devel] [PATCH v4 1/9] xen/vpci: introduce basic handlers to trap accesses to the PCI config space

2017-07-28 Thread Jan Beulich
>>> Roger Pau Monné 07/14/17 6:42 PM >>> >On Fri, Jul 14, 2017 at 10:01:54AM -0600, Jan Beulich wrote: >> >>> On 14.07.17 at 17:33, wrote: >> > On Thu, Jul 13, 2017 at 08:36:18AM -0600, Jan Beulich wrote: >> >> >>> Roger Pau Monne 06/30/17 5:01 PM >>> >> >> > --- a/xen/arch/arm/xen.lds.S >> >> >

Re: [Xen-devel] [PATCH v4 3/9] x86/physdev: enable PHYSDEVOP_pci_mmcfg_reserved for PVH Dom0

2017-07-28 Thread Jan Beulich
>>> Roger Pau Monne 07/20/17 12:24 PM >>> >On Fri, Jul 14, 2017 at 04:32:19AM -0600, Jan Beulich wrote: >> >>> On 30.06.17 at 17:01, wrote: >> > So that hotplug (or MMCFG regions not present in the MCFG ACPI table) >> > can be added at run time by the hardware domain. >> >> I think the emphasis

[Xen-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Olaf Hering
g_malloc0_n is available since glib-2.24. To allow build with older glib versions use the generic g_malloc0, which is already used in many other places in the code. Fixes commit 3284fad728 ("xen-disk: add support for multi-page shared rings") Signed-off-by: Olaf Hering --- hw/block/xen_disk.c |

[Xen-devel] [linux-3.18 test] 112351: trouble: blocked/broken/fail/pass

2017-07-28 Thread osstest service owner
flight 112351 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112351/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 2 hosts-allocate broken REGR. vs. 112102

Re: [Xen-devel] [OSSTEST PATCH] arm64: tolerate host allocation failures

2017-07-28 Thread Julien Grall
Hi, On 28/07/17 11:34, Ian Jackson wrote: We have no working ARM64 hardware right now. Stop blocking things. Sadly :/. Hopefully this could be solved quickly. FWIW: Acked-by: Julien Grall (Arguably this ought to be done in general for all arches, but actually bugs in the flight constructi

Re: [Xen-devel] [Qemu-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Eric Blake
On 07/28/2017 07:31 AM, Olaf Hering wrote: > g_malloc0_n is available since glib-2.24. To allow build with older glib > versions use the generic g_malloc0, which is already used in many other > places in the code. > > Fixes commit 3284fad728 ("xen-disk: add support for multi-page shared rings") >

Re: [Xen-devel] [Qemu-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Olaf Hering
On Fri, Jul 28, Eric Blake wrote: > This version is prone to multiplication overflow (well, maybe not, but > you have to audit for that). Wouldn't it be better to use: What could go wrong? qemu will die either way, I think. Olaf signature.asc Description: PGP signature ___

Re: [Xen-devel] [Qemu-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Daniel P. Berrange
On Fri, Jul 28, 2017 at 07:43:59AM -0500, Eric Blake wrote: > On 07/28/2017 07:31 AM, Olaf Hering wrote: > > g_malloc0_n is available since glib-2.24. To allow build with older glib > > versions use the generic g_malloc0, which is already used in many other > > places in the code. > > > > Fixes co

Re: [Xen-devel] [Qemu-devel] [PATCH] xen-disk: use g_malloc0 to fix build

2017-07-28 Thread Eric Blake
On 07/28/2017 07:48 AM, Olaf Hering wrote: > On Fri, Jul 28, Eric Blake wrote: > >> This version is prone to multiplication overflow (well, maybe not, but >> you have to audit for that). Wouldn't it be better to use: > > What could go wrong? > qemu will die either way, I think. Dying immediatel

[Xen-devel] [linux-4.9 test] 112350: trouble: blocked/broken/fail/pass

2017-07-28 Thread osstest service owner
flight 112350 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/112350/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 2 hosts-allocate broken REGR. vs. 112193

[Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-28 Thread Zhongze Liu
1. Motivation and Description Virtual machines use grant table hypercalls to setup a share page for inter-VMs communications. These hypercalls are used by all PV protocols today. However, very

[Xen-devel] [PATCH v2] xen-disk: use g_new0 to fix build

2017-07-28 Thread Olaf Hering
g_malloc0_n is available since glib-2.24. To allow build with older glib versions use the generic g_new0, which is already used in many other places in the code. Fixes commit 3284fad728 ("xen-disk: add support for multi-page shared rings") Signed-off-by: Olaf Hering --- hw/block/xen_disk.c | 2

Re: [Xen-devel] [RFC PATCH 00/15] RFC: SGX virtualization design and draft patches

2017-07-28 Thread Wei Liu
On Tue, Jul 18, 2017 at 08:22:55PM +1200, Huang, Kai wrote: > Hi Wei, > > Thank you very much for comments. Please see my reply below. > > On 7/17/2017 9:16 PM, Wei Liu wrote: > > Hi Kai > > > > Thanks for this nice write-up. > > > > Some comments and questions below. > > > > On Sun, Jul 09, 2

Re: [Xen-devel] [PATCH 04/25 v6] xen/arm: vpl011: Add support for vuart in libxl

2017-07-28 Thread Wei Liu
On Tue, Jul 25, 2017 at 11:08:24PM +0530, Bhupinder Thakur wrote: > Hi, > > On 18 July 2017 at 17:00, Wei Liu wrote: > > CC x86 maintainers > > > > On Tue, Jul 18, 2017 at 12:19:19PM +0100, Julien Grall wrote: > >> > > >> > ("arch_arm", Struct(None, [("gic_version", libxl_gic_version), > >>

[Xen-devel] [OSSTEST PATCH v14 00/24] Have OpenStack tested on top of xen's master and libvirt's master.

2017-07-28 Thread Anthony PERARD
Now powered with subunit-to-substep engine. The Tempest test names reported via subunit are in the form: tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,id-bdbb5441-9204-419d-a225-b4fdbfb1a1a8,image,network,volume] so very long. Sometime, it in the

[Xen-devel] [OSSTEST PATCH v14 04/24] TestSupport: provide target_https_mitm_proxy_cert_path

2017-07-28 Thread Anthony PERARD
From: Ian Jackson Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 6e19b28..7215156 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -64,6 +64,7 @@ BEGIN {

[Xen-devel] [OSSTEST PATCH v14 08/24] ts-kernel-build: Enable network related modules for Neutron

2017-07-28 Thread Anthony PERARD
Those options/modules are needed to run OpenStack Neutron with Open vSwitch. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-kernel-build | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index 94e67a4..0bcd340 10

[Xen-devel] [OSSTEST PATCH v14 06/24] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called

2017-07-28 Thread Anthony PERARD
This is part of commit "ts-openstack-deploy: set CURL_CA_BUNDLE" but also allow pip to work when it is called via sudo without preserving the existing environment variables. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 1 + 1 file changed, 1 insertion(+) diff -

[Xen-devel] [OSSTEST PATCH v14 05/24] ts-openstack-deploy: set CURL_CA_BUNDLE

2017-07-28 Thread Anthony PERARD
From: Ian Jackson This overrides pip's attempt to specify a specific certificate bundle, and is necessary if we have a MITM SSL proxy. The security implications are not ideal, because the MITM proxy will allow any X.509 cert from any CA, whereas pip would only allow an expected cert. But we got

[Xen-devel] [OSSTEST PATCH v14 03/24] ts-openstack-deploy: Set http proxy

2017-07-28 Thread Anthony PERARD
From: Ian Jackson This allows ./stack.sh to access the global internet. CC: Anthony PERARD Signed-off-by: Ian Jackson --- ts-openstack-deploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 6f061eb..d2971f5 100755 --- a/ts-openstack-deplo

[Xen-devel] [OSSTEST PATCH v14 01/24] ts-openstack-deploy: Deploy OpenStack on a host with devstack

2017-07-28 Thread Anthony PERARD
This script installs any necessary packages and clones all of the OpenStack trees which are used by devstack to deploy OpenStack. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- sg-run-job | 5 ++ ts-openstack-deploy | 148

[Xen-devel] [OSSTEST PATCH v14 07/24] ts-openstack-deploy: Try to disable use of SYSTEMD

2017-07-28 Thread Anthony PERARD
There is USE_SYSTEMD off by default, but it is now turned on if USE_SCREEN if off. Try to keep use of systemd disabled. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-ope

[Xen-devel] [OSSTEST PATCH v14 02/24] ts-openstack-tempest: Run Tempest to check OpenStack

2017-07-28 Thread Anthony PERARD
This script runs the OpenStack integration test suite, Tempest. Signed-off-by: Anthony PERARD Acked-by: Ian Campbell Acked-by: Ian Jackson --- sg-run-job | 1 + ts-openstack-tempest | 65 2 files changed, 66 insertions(+) create

[Xen-devel] [OSSTEST PATCH v14 09/24] ts-openstack-deploy: Switch to Neutron for network

2017-07-28 Thread Anthony PERARD
nova-network is not supported anymore and Neutron is the default. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 1349009..2107760 100755 --- a/

Re: [Xen-devel] [PATCH v4 04/13] xl: add PV display device commands

2017-07-28 Thread Wei Liu
On Tue, Jul 18, 2017 at 05:25:21PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Add commands: vdispl-attach, vdispl-list, vdispl-detach > and domain config vdispl parser > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xe

Re: [Xen-devel] [PATCH v4 06/13] libxl: change p9 to use generec add function

2017-07-28 Thread Wei Liu
On Tue, Jul 18, 2017 at 05:25:23PM +0300, Oleksandr Grytsov wrote: [...] > /* Waits for the passed device to reach state XenbusStateInitWait. > * This is not really useful by itself, but is important when executing > * hotplug scripts, since we need to be sure the device is in the correct > @@

Re: [Xen-devel] [PATCH v4 05/13] docs: add PV display driver information

2017-07-28 Thread Wei Liu
On Tue, Jul 18, 2017 at 05:25:22PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v4 00/13] libxl: add PV display device driver interface

2017-07-28 Thread Wei Liu
On Tue, Jul 18, 2017 at 05:25:17PM +0300, Oleksandr Grytsov wrote: > From: Oleksandr Grytsov > > Changes since V3: > * libxl__device_add renamed to libxl__device_add_async and reworked > to match the former design; > * libxl__device_add used for devices which don't require updating domain

Re: [Xen-devel] [PATCH 04/25 v6] xen/arm: vpl011: Add support for vuart in libxl

2017-07-28 Thread Julien Grall
Hi Wei, On 07/28/2017 02:49 PM, Wei Liu wrote: On Tue, Jul 25, 2017 at 11:08:24PM +0530, Bhupinder Thakur wrote: Hi, On 18 July 2017 at 17:00, Wei Liu wrote: CC x86 maintainers On Tue, Jul 18, 2017 at 12:19:19PM +0100, Julien Grall wrote: ("arch_arm", Struct(None, [("gic_version", l

[Xen-devel] [libvirt test] 112353: trouble: blocked/broken/pass

2017-07-28 Thread osstest service owner
flight 112353 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/112353/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-pvops 2 hosts-allocate broken REGR. vs. 112276 bu

[Xen-devel] [OSSTEST PATCH v14 20/24] ts-openstack-tempest: Use target_subunit_cmd

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index ae3662f..596142a 100755 --- a/ts-openstack-tempest +++ b/ts-openstack-tempest @@ -53,10 +53,10 @@

[Xen-devel] [OSSTEST PATCH v14 15/24] ts-openstack-deploy: Move logs to /var/log/openstack

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 00f262f..e7c94a5 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -58,7 +58,7 @@ DEST=$buil

[Xen-devel] [OSSTEST PATCH v14 23/24] make-flight: Increase dom0_mem for openstack flight

2017-07-28 Thread Anthony PERARD
With 4G for dom0_mem, a host running devstack is using about 1.5G of swap. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- make-flight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-flight b/make-flight index e03aacc..cc95529 100755 --- a/make-flight +++ b/make

[Xen-devel] [OSSTEST PATCH v14 13/24] ts-openstack-tempest: Fix tempest invocation

2017-07-28 Thread Anthony PERARD
./run_tempest.sh is deprecated. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-tempest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index 82e9a71..b95043a 100755 --- a/ts-openstack-tempest +++ b/ts-openst

[Xen-devel] [OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only

2017-07-28 Thread Anthony PERARD
This patch create new jobs *-devstack that will only be added to the branches openstack*, which will be introduced in the next patch. So no overall functional change. Here is a list of jobs that a openstack* branch will have: build-amd64 build-amd64-libvirt build-amd64-pvops build-amd64-x

[Xen-devel] [OSSTEST PATCH v14 11/24] ts-openstack-deploy: Apply a Tempest patch

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 9 + 1 file changed, 9 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index f677513..befe3d3 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -137,6 +137,15 @@ END <

[Xen-devel] [OSSTEST PATCH v14 19/24] TestSupport: Implement target_subunit_cmd a subunit stream parser into substeps

2017-07-28 Thread Anthony PERARD
target_subunit_cmd can be used like target_cmd, but the command would needs to output a subunit v1 stream, which will be parsed and turned into osstest substeps. The command can be `| subunit-2to1` in order to turn a subunit v2 stream into v1. Currently, time is not taken into account, and all sub

[Xen-devel] [OSSTEST PATCH v14 12/24] ts-openstack-deploy: Ignore libvirt-python version and use latest

2017-07-28 Thread Anthony PERARD
Devstack is going to try to install a specific version of libvirt-python (currently 2.5.0) but this fail with libvirt installed by osstest. Remove the requirement and use the latest available instead. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 15 +

[Xen-devel] [SELINUX POLICY PATCH] Update for Xen 4.7

2017-07-28 Thread Anthony PERARD
Since Xen 4.7, /dev/xen/privcmd is used instead of /proc/xen/privcmd. Add the device into the policy so `xenstored` can work. Signed-off-by: Anthony PERARD --- policy/modules/kernel/devices.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/devices.fc b/policy/modules/k

[Xen-devel] [OSSTEST PATCH v14 22/24] New branch openstack-ocata

2017-07-28 Thread Anthony PERARD
Testing of the Ocata stable branch of OpenStack against Xen unstable. OpenStack have many different repo which should be clone/fetch at roughly the same time. This does not matter much for a stable branch of OpenStack, but during development they can be a proposed patch for a repo that depends on

[Xen-devel] [OSSTEST PATCH v14 16/24] ts-logs-capture: Capture OpenStack logs

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-logs-capture | 6 ++ 1 file changed, 6 insertions(+) diff --git a/ts-logs-capture b/ts-logs-capture index 061a118..0e3d267 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -171,6 +171,12 @@ sub fetch_logs_host () {

[Xen-devel] [OSSTEST PATCH v14 18/24] TestSupport: Introduce target_cmd_stashed

2017-07-28 Thread Anthony PERARD
This works like target_cmd, but takes a ref to a filename as argument and stash the output of the command then return a path to the stashed output. Signed-off-by: Anthony PERARD --- Notes: Changes in V14: - Use filename for error message instead of file handle. Osstest/TestSupport.pm |

[Xen-devel] [OSSTEST PATCH v14 14/24] ts-openstack-tempest: Update list of skipped tests

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-tempest | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/ts-openstack-tempest b/ts-openstack-tempest index b95043a..ae3662f 100755 --- a/ts-openstack-tempest +++ b/ts-openstack-tempest @@

[Xen-devel] [OSSTEST PATCH v14 24/24] openstack tests: Don't run them on arm*

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- make-flight | 1 + 1 file changed, 1 insertion(+) diff --git a/make-flight b/make-flight index cc95529..f615155 100755 --- a/make-flight +++ b/make-flight @@ -224,6 +224,7 @@ arch_branch_filter_callback () { rumprun) return 1;;

[Xen-devel] [OSSTEST PATCH v14 17/24] ts-openstack-deploy: Increase devstack timeout

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index e7c94a5..875c4a7 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -169,7 +169,7 @@ sub depl

[Xen-devel] [OSSTEST PATCH v14 10/24] ts-openstack-deploy: Increase open fd limit for RabbitMQ

2017-07-28 Thread Anthony PERARD
Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 2107760..f677513 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -130,6 +130,13 @@ END osstest ALL

Re: [Xen-devel] [OSSTEST PATCH v14 18/24] TestSupport: Introduce target_cmd_stashed

2017-07-28 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST PATCH v14 18/24] TestSupport: Introduce target_cmd_stashed"): > This works like target_cmd, but takes a ref to a filename as argument > and stash the output of the command then return a path to the stashed > output. > > Signed-off-by: Anthony PERARD Acked-by: Ia

Re: [Xen-devel] [OSSTEST PATCH v14 19/24] TestSupport: Implement target_subunit_cmd a subunit stream parser into substeps

2017-07-28 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST PATCH v14 19/24] TestSupport: Implement target_subunit_cmd a subunit stream parser into substeps"): > target_subunit_cmd can be used like target_cmd, but the command would > needs to output a subunit v1 stream, which will be parsed and turned > into osstest substep

Re: [Xen-devel] [OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only

2017-07-28 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only"): > This patch create new jobs *-devstack that will only be added to the > branches openstack*, which will be introduced in the next patch. So no > overall functional change. Acked

Re: [Xen-devel] [OSSTEST PATCH v14 22/24] New branch openstack-ocata

2017-07-28 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST PATCH v14 22/24] New branch openstack-ocata"): > Testing of the Ocata stable branch of OpenStack against Xen unstable. Thanks for the additonal explanation. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@li

Re: [Xen-devel] [PATCH 04/25 v6] xen/arm: vpl011: Add support for vuart in libxl

2017-07-28 Thread Wei Liu
On Fri, Jul 28, 2017 at 03:14:31PM +0100, Julien Grall wrote: > Hi Wei, > > On 07/28/2017 02:49 PM, Wei Liu wrote: > > On Tue, Jul 25, 2017 at 11:08:24PM +0530, Bhupinder Thakur wrote: > > > Hi, > > > > > > On 18 July 2017 at 17:00, Wei Liu wrote: > > > > CC x86 maintainers > > > > > > > > On T

[Xen-devel] [GIT PULL] xen: fixes for 4.13-rc3

2017-07-28 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.13b-rc3-tag xen: fixes for 4.13-rc3 It contains three minor cleanups for xen related drivers. Thanks. Juergen drivers/xen/events/events_base.c | 13 +++-- drivers/xen/xe

Re: [Xen-devel] [PATCH 04/25 v6] xen/arm: vpl011: Add support for vuart in libxl

2017-07-28 Thread Julien Grall
On 07/28/2017 03:42 PM, Wei Liu wrote: On Fri, Jul 28, 2017 at 03:14:31PM +0100, Julien Grall wrote: Hi Wei, On 07/28/2017 02:49 PM, Wei Liu wrote: On Tue, Jul 25, 2017 at 11:08:24PM +0530, Bhupinder Thakur wrote: Hi, On 18 July 2017 at 17:00, Wei Liu wrote: CC x86 maintainers On Tue, J

[Xen-devel] [PATCH] xen: avoid deadlock in xenbus

2017-07-28 Thread Juergen Gross
When starting the xenwatch thread a theoretical deadlock situation is possible: xs_init() contains: task = kthread_run(xenwatch_thread, NULL, "xenwatch"); if (IS_ERR(task)) return PTR_ERR(task); xenwatch_pid = task->pid; And xenwatch_thread() does: mutex_lock(&xenwatch_m

Re: [Xen-devel] [PATCH v3 0/3] docs: convert manpages to pod

2017-07-28 Thread Wei Liu
On Wed, Jul 26, 2017 at 04:39:47PM +0200, Olaf Hering wrote: > To remove the buildtime dependency to pandoc/ghc some manpages are > converted from markdown to pod format. This will provide more manpages > which are referenced in xl(1) and xl.cfg(5). > > This series does not cover xen-vbd-interface

Re: [Xen-devel] [PATCH] libvchan: Fix cleanup when xc_gntshr_open failed

2017-07-28 Thread Wei Liu
On Wed, Jul 26, 2017 at 11:27:14PM +0200, Marek Marczykowski-Górecki wrote: > If xc_gntshr_open failed the only thing to cleanup is free allocated > memory. So instead of calling libxenvchan_close (which assume > valid calculated buffers being mmaped already) free memory and return. > > Signed-off

Re: [Xen-devel] [PATCH] xen: avoid deadlock in xenbus

2017-07-28 Thread Boris Ostrovsky
On 07/28/2017 10:53 AM, Juergen Gross wrote: > When starting the xenwatch thread a theoretical deadlock situation is > possible: > > xs_init() contains: > > task = kthread_run(xenwatch_thread, NULL, "xenwatch"); > if (IS_ERR(task)) > return PTR_ERR(task); > xenwatch_pid = task->

Re: [Xen-devel] [PATCH] xen: avoid deadlock in xenbus

2017-07-28 Thread Juergen Gross
On 28/07/17 17:14, Boris Ostrovsky wrote: > On 07/28/2017 10:53 AM, Juergen Gross wrote: >> When starting the xenwatch thread a theoretical deadlock situation is >> possible: >> >> xs_init() contains: >> >> task = kthread_run(xenwatch_thread, NULL, "xenwatch"); >> if (IS_ERR(task)) >>

Re: [Xen-devel] [PATCH] libxl: do not start dom0 qemu for stubdomain when not needed

2017-07-28 Thread Wei Liu
On Thu, Jul 27, 2017 at 12:44:25AM +0200, Marek Marczykowski-Górecki wrote: > Use xen-blkback for 'vbd' disk types by default and do not setup vfb+vkb > when no access method was configured. Then check if qemu is really > needed. > > The only not configurable thing forcing qemu running in dom0 aft

Re: [Xen-devel] [PATCH] Makefile: Fix uninstall target

2017-07-28 Thread Wei Liu
On Thu, Jul 27, 2017 at 08:08:27PM +0300, Petre Pircalabu wrote: > Running "make uninstall" does not remove all installed files, a > situation which might cause link related issues if xen is re-installed > in a different location. > In order to make uninstall correctly remove the files it is best >

[Xen-devel] [PATCH OSSTEST 07/11] ts-freebsd-host-install: add option to test memdisk options

2017-07-28 Thread Roger Pau Monne
This is needed in order to figure out which memdisk options should be used to boot the images on each specific box. Note that upon success the script stores the tentative host property in the runvars. Signed-off-by: Roger Pau Monné --- ts-freebsd-host-install | 27 ++- 1

[Xen-devel] [PATCH OSSTEST 11/11] sg-run-job: hook the memdisk test into examine

2017-07-28 Thread Roger Pau Monne
Hook the memdisk parameter detection and the saving of the host properties into the examine jobs. Signed-off-by: Roger Pau Monné --- sg-run-job | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sg-run-job b/sg-run-job index ed1ed3c8..4df89410 100755 --- a/sg-run-job +++ b/sg-run-job @@ -658,

[Xen-devel] [PATCH OSSTEST 05/11] mfi-common: move set_freebsd_runvars to mfi-common

2017-07-28 Thread Roger Pau Monne
So that it can also be used by make-hosts-flight. No functional change intended. Signed-off-by: Roger Pau Monné --- make-freebsd-flight | 31 --- mfi-common | 31 +++ 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a

[Xen-devel] [PATCH OSSTEST 03/11] sg-run-job: fix typo in the examine jobs

2017-07-28 Thread Roger Pau Monne
proc prep-job/host-examine-xen is declared twice, one of them should be prep-job/host-examine-linux instead. Signed-off-by: Roger Pau Monné --- sg-run-job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-run-job b/sg-run-job index b7ce963a..ed1ed3c8 100755 --- a/sg-run-job

[Xen-devel] [PATCH OSSTEST 09/11] ts-examine-hostprops-save: introduce a script to save properties

2017-07-28 Thread Roger Pau Monne
The introduce script turns the properties stored in the runvars using the format hostprop_$hotname_$prop=$val into host properties stored in the database. Signed-off-by: Roger Pau Monné --- ts-examine-hostprops-save | 39 +++ 1 file changed, 39 insertions(+)

[Xen-devel] [PATCH OSSTEST 06/11] TestSupport: introduce hostprop_putative_record

2017-07-28 Thread Roger Pau Monne
This is used to store tentative host properties in the runvars of a job, with the expectation that at some point (ie: at the end of the job) they will be turned into real properties stored in the database. Signed-off-by: Roger Pau Monné --- Osstest/TestSupport.pm | 7 +++ 1 file changed, 7 i

[Xen-devel] [PATCH OSSTEST 02/11] ts-freebsd-host-install: fix image permissions

2017-07-28 Thread Roger Pau Monne
Make sure images copied to the tftp path have the right permissions, so use dd instead of cp, which will obviously not preserve the original permissions. Signed-off-by: Roger Pau Monné --- ts-freebsd-host-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-freebsd-ho

[Xen-devel] [PATCH OSSTEST 00/11] osstest: add support to examine the needed memdisk flags for each host

2017-07-28 Thread Roger Pau Monne
Hello, This builds on top of my previous osstest FreeBSD support series, and expands the examine flight in order to test which memdisk options should be used for each host. Hopefully all of this will be automatic upon running a examine flight. The required options are detected by ts-memdisk-try-ap

[Xen-devel] [PATCH OSSTEST 01/11] netboot_memdisk: allow each host to have different append values

2017-07-28 Thread Roger Pau Monne
Some hosts require "append raw" [0] when booting with memdisk, while others don't. This is based on the hardware/BIOS, and needs to be set on a per-host basis. In order to do this, add a new "MemdiskAppend" host property and make use of it in the setup_netboot_memdisk helper. [0] http://www.sysli

[Xen-devel] [PATCH OSSTEST 04/11] TestSupport: introduce set_host_prop

2017-07-28 Thread Roger Pau Monne
This is from the code in mg-hosts. Switch cmd_setprops to use the newly introduced function. No functional change. Signed-off-by: Roger Pau Monné --- Osstest/TestSupport.pm | 31 ++- mg-hosts | 31 +-- 2 files changed, 31 ins

[Xen-devel] [PATCH OSSTEST 10/11] make-hosts-flight: set runvars for FreeBSD test

2017-07-28 Thread Roger Pau Monne
This is needed in order to run the memdisk test. Signed-off-by: Roger Pau Monné --- make-hosts-flight | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make-hosts-flight b/make-hosts-flight index 0152dfe1..d5670857 100755 --- a/make-hosts-flight +++ b/make-hosts-flight @@ -69,10 +69,13 @@ h

[Xen-devel] [PATCH OSSTEST 08/11] ts-memdisk-try-append: introduce a script to test memdisk options

2017-07-28 Thread Roger Pau Monne
The intended usage is to run this script against every host in order to record the possible needed memdisk flags. Signed-off-by: Roger Pau Monné --- ts-memdisk-try-append | 27 +++ 1 file changed, 27 insertions(+) create mode 100755 ts-memdisk-try-append diff --git a/ts

Re: [Xen-devel] [PATCH OSSTEST 03/11] sg-run-job: fix typo in the examine jobs

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 03/11] sg-run-job: fix typo in the examine jobs"): > proc prep-job/host-examine-xen is declared twice, one of them should > be prep-job/host-examine-linux instead. > > Signed-off-by: Roger Pau Monné Thank you. Acked-by: Ian Jackson

Re: [Xen-devel] [PATCH OSSTEST 02/11] ts-freebsd-host-install: fix image permissions

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 02/11] ts-freebsd-host-install: fix image permissions"): > Make sure images copied to the tftp path have the right permissions, > so use dd instead of cp, which will obviously not preserve the > original permissions. Acked-by: Ian Jackson

[Xen-devel] [OSSTEST PATCH] cs-hosts-list: Document the --arches, --kernels and --suites options

2017-07-28 Thread Ian Jackson
These have a rather counterintuitive behaviour which is nevertheless useful. Document it, and the reasoning. CC: Roger Pau Monne Signed-off-by: Ian Jackson --- cs-hosts-list | 37 + 1 file changed, 37 insertions(+) diff --git a/cs-hosts-list b/cs-hosts-list

Re: [Xen-devel] [PATCH] libxl: do not start dom0 qemu for stubdomain when not needed

2017-07-28 Thread Marek Marczykowski-Górecki
On Fri, Jul 28, 2017 at 04:17:51PM +0100, Wei Liu wrote: > On Thu, Jul 27, 2017 at 12:44:25AM +0200, Marek Marczykowski-Górecki wrote: > > Use xen-blkback for 'vbd' disk types by default and do not setup vfb+vkb > > when no access method was configured. Then check if qemu is really > > needed. > >

Re: [Xen-devel] [PATCH v2] xen: Implement hypercall for tracing of program counters

2017-07-28 Thread Wei Liu
On Wed, Jul 26, 2017 at 12:43:45PM +0200, Felix Schmoll wrote: > > diff --git a/xen/Kconfig b/xen/Kconfig > index 65d491d776..5ed2c9c390 100644 > --- a/xen/Kconfig > +++ b/xen/Kconfig > @@ -38,4 +38,8 @@ config LTO > > If unsure, say N. > > +config TRACE_PC > +bool "Enable tracing

Re: [Xen-devel] [PATCH OSSTEST 04/11] TestSupport: introduce set_host_prop

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 04/11] TestSupport: introduce set_host_prop"): > This is from the code in mg-hosts. Switch cmd_setprops to use the > newly introduced function. I think this needs to be abstracted through jobdb. Certainly these SQL statements operating on the host_properti

Re: [Xen-devel] [PATCH] libxl: do not start dom0 qemu for stubdomain when not needed

2017-07-28 Thread Wei Liu
On Fri, Jul 28, 2017 at 05:34:42PM +0200, Marek Marczykowski-Górecki wrote: [...] > This patch itself does not break it (yet). Such guest will have all > consoles needed for migration by default. This also means that need_qemu > will always be true in practice. I imagine the next step would be eith

Re: [Xen-devel] [PATCH OSSTEST 05/11] mfi-common: move set_freebsd_runvars to mfi-common

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 05/11] mfi-common: move set_freebsd_runvars to mfi-common"): > So that it can also be used by make-hosts-flight. No functional change > intended. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists

Re: [Xen-devel] [PATCH OSSTEST 06/11] TestSupport: introduce hostprop_putative_record

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 06/11] TestSupport: introduce hostprop_putative_record"): > This is used to store tentative host properties in the runvars of a > job, with the expectation that at some point (ie: at the end of the > job) they will be turned into real properties stored in th

Re: [Xen-devel] [PATCH OSSTEST 07/11] ts-freebsd-host-install: add option to test memdisk options

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 07/11] ts-freebsd-host-install: add option to test memdisk options"): > This is needed in order to figure out which memdisk options should be > used to boot the images on each specific box. ... > +if ($r{'arch'} !~ m/amd64/g) { > +logm("Arch $r{'arch'} n

Re: [Xen-devel] [PATCH OSSTEST 07/11] ts-freebsd-host-install: add option to test memdisk options

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 07/11] ts-freebsd-host-install: add option to test memdisk options"): ... > +if ($bootonly) { > +hostprop_putative_record($ho, "MemdiskAppend", $memdisk_append) > +if $memdisk_append; > +exit 0; I think this should be a separate option --rec

Re: [Xen-devel] [PATCH OSSTEST 08/11] ts-memdisk-try-append: introduce a script to test memdisk options

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 08/11] ts-memdisk-try-append: introduce a script to test memdisk options"): > The intended usage is to run this script against every host in order > to record the possible needed memdisk flags. Acked-by: Ian Jackson Except that I think my other comments a

Re: [Xen-devel] [PATCH OSSTEST 09/11] ts-examine-hostprops-save: introduce a script to save properties

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 09/11] ts-examine-hostprops-save: introduce a script to save properties"): > The introduce script turns the properties stored in the runvars using > the format hostprop_$hotname_$prop=$val into host properties stored in > the database. ... > +exit 0 if inten

Re: [Xen-devel] [PATCH OSSTEST 11/11] sg-run-job: hook the memdisk test into examine

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 11/11] sg-run-job: hook the memdisk test into examine"): > Hook the memdisk parameter detection and the saving of the host > properties into the examine jobs. Looking at this: > + run-ts . =ts-memdisk-try-append + host > } > run

Re: [Xen-devel] [PATCH OSSTEST 10/11] make-hosts-flight: set runvars for FreeBSD test

2017-07-28 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH OSSTEST 10/11] make-hosts-flight: set runvars for FreeBSD test"): > This is needed in order to run the memdisk test. Acked-by: Ian Jackson Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/x

  1   2   >