Re: [Xen-devel] [PATCH 14/24] libxl: allow to set the ratelimit value online for Credit2

2016-09-05 Thread Dario Faggioli
On Mon, 2016-08-22 at 10:21 +0100, Ian Jackson wrote: > Dario Faggioli writes ("[PATCH 14/24] libxl: allow to set the > ratelimit value online for Credit2"): > > > > This is the remaining part of the plumbing (the libxl > > one) necessary to be able to change the value of the > > ratelimit_us

[Xen-devel] [OSSTEST PATCH 22/26] TestSupport: guest_prepare_disk: cope with no disk

2016-09-05 Thread Ian Jackson
If the guest has no runvars specifying any kind of disk, do not attempt to mess about with unmounting it etc. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm

[Xen-devel] [OSSTEST PATCH 07/26] rumprun: ts-rumprun-build: Remove $bodges

2016-09-05 Thread Ian Jackson
This is very obsolete. Signed-off-by: Ian Jackson --- ap-common| 5 - ts-rumprun-build | 46 +- 2 files changed, 1 insertion(+), 50 deletions(-) diff --git a/ap-common b/ap-common index 212da18..62d2e4f 100644

[Xen-devel] [OSSTEST PATCH 12/26] ts-xen-build: Support --no-kconfig

2016-09-05 Thread Ian Jackson
Nothing passes this yet, so no functional change. Signed-off-by: Ian Jackson --- ts-xen-build | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 4f06419..f5cff8b 100755 --- a/ts-xen-build +++

[Xen-devel] [OSSTEST PATCH 21/26] rumprun: Do not stash whole build tree

2016-09-05 Thread Ian Jackson
Build steps all need the whole build tree in the same location, so have to be part of this job. Test jobs need only rumprun. Signed-off-by: Ian Jackson --- ts-rumprun-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rumprun-build

[Xen-devel] [OSSTEST PATCH 10/26] ts-xen-build: Separate out kconfig from main build step

2016-09-05 Thread Ian Jackson
Signed-off-by: Ian Jackson --- ts-xen-build | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 5933dd4..60ce9ee 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -125,10 +125,14 @@ END fi END #/; -

[Xen-devel] [OSSTEST PATCH 01/26] Executive: Do update flights_harness_touched for play flights

2016-09-05 Thread Ian Jackson
Have \bplay\b simply bypass the blessing check, but not the harness revision update which follows. Signed-off-by: Ian Jackson --- Osstest/JobDB/Executive.pm | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Osstest/JobDB/Executive.pm

[Xen-devel] [OSSTEST PATCH 17/26] rumprun: Break out findtools

2016-09-05 Thread Ian Jackson
This makes room for setting up ccache. No functional change yet. Signed-off-by: Ian Jackson --- ts-rumprun-build | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index 98c8efc..24e54e1 100755 ---

[Xen-devel] [OSSTEST PATCH 16/26] rumprun: Do not run xen/Kconfig

2016-09-05 Thread Ian Jackson
We aren't going to cross-build a Xen hypervisor for the rump environment. So don't configure it. Signed-off-by: Ian Jackson --- sg-run-job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sg-run-job b/sg-run-job index 0c7835e..eb3df26 100755 ---

[Xen-devel] [OSSTEST PATCH 13/26] rumprun: ts-rumprun-build: Update for new rumprun bin location

2016-09-05 Thread Ian Jackson
The compiler wrappers are in a different location in the new rumprun build tree. Signed-off-by: Ian Jackson --- ts-rumprun-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index cb91d5c..7184f9d 100755 ---

[Xen-devel] [OSSTEST PATCH 19/26] Xen built versions: Move list of subtrees to BuildSupport

2016-09-05 Thread Ian Jackson
Turn the adhoc list of tree names and subdirectories in collect_xen_built_versions into a hash, which we iterate over. Doing this in a data-driven way allows us to provide this information to callers of collect_xen_built_versions, which is going to be helpful in a moment. Signed-off-by: Ian

[Xen-devel] [OSSTEST PATCH 11/26] ts-xen-build: Support $r{cmdsuffix_configure}

2016-09-05 Thread Ian Jackson
Nothing sets this yet, so no functional change. Signed-off-by: Ian Jackson --- ts-xen-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index 60ce9ee..4f06419 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -109,6

[Xen-devel] [OSSTEST PATCH 14/26] rumprun: ts-rumprun-build: Update for newer Xen

2016-09-05 Thread Ian Jackson
Newer Xen needs more work to make it cross compile for rump. * Pass --host=TARGET to configure. This is needed so that configure knows that we are deliberately cross compiling. (Otherwise it tries to run target binaries on the host, and crashes when that fails.) * Pass CROSS_COMPILE in the

[Xen-devel] [OSSTEST PATCH 09/26] rumprun: ts-rumprun-build: Adjust command prefixes for new rumprun

2016-09-05 Thread Ian Jackson
Nowadays the expected use pattern is CC=<...rumprun...>-gcc ./configure etc. Signed-off-by: Ian Jackson --- ts-rumprun-build | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ts-rumprun-build b/ts-rumprun-build index

Re: [Xen-devel] [PATCH v6 4/4] x86/ioreq server: Reset outstanding p2m_ioreq_server entries when an ioreq server unmaps.

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 12:47, wrote: > @@ -5551,7 +5553,35 @@ static int hvmop_map_mem_type_to_ioreq_server( > if ( rc != 0 ) > goto out; > > -rc = hvm_map_mem_type_to_ioreq_server(d, op.id, op.type, op.flags); > +if ( gfn == 0 ) > +rc =

Re: [Xen-devel] [PATCH 1/2] VMX: correct feature checks for MPX and XSAVES

2016-09-05 Thread Andrew Cooper
On 02/09/16 11:21, Jan Beulich wrote: > Their VMCS fields aren't tied to the respective base CPU feature flags > but instead to VMX specific ones. > > Note that while the VMCS GUEST_BNDCFGS field exists if either of the > two respective features is available, MPX continues to get exposed to >

Re: [Xen-devel] [RFC 16/22] xen/arm: p2m: Make p2m_{valid, table, mapping} helpers inline

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > Those helpers are very small and often used. Let know the compiler they > can be inlined. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini > xen/arch/arm/p2m.c | 6 +++--- > 1 file

Re: [Xen-devel] [RFC 15/22] xen/arm: p2m: Re-implement relinquish_p2m_mapping using p2m_get_entry

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > The current implementation of relinquish_p2m_mapping is modifying the > page table to erase the entry one by one. However, this is not necessary > because the domain is not running anymore and therefore will speed up > the domain destruction. Could you

[Xen-devel] [ovmf baseline-only test] 67639: all pass

2016-09-05 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67639 ovmf real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67639/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 3d20524af09243e3b2e3e832d1c62975e84a5dcd baseline

Re: [Xen-devel] [RFC 14/22] xen/arm: p2m: Re-implement p2m_cache_flush using p2m_get_entry

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > The function p2m_cache_flush can be re-implemented using the generic > function p2m_get_entry by iterating over the range and using the mapping > order given by the callee. > > As the current implementation, no preemption is implemented, although > the

[Xen-devel] [ovmf test] 100764: all pass - PUSHED

2016-09-05 Thread osstest service owner
flight 100764 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/100764/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf bc54e50e0fe03c570014f363b547426913e92449 baseline version: ovmf

Re: [Xen-devel] [RFC 13/22] xen/arm: p2m: Replace all usage of __p2m_lookup with p2m_get_entry

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > __p2m_lookup is just a wrapper to p2m_get_entry. > > Signed-off-by: Julien Grall > Cc: Razvan Cojocaru > Cc: Tamas K Lengyel Acked-by: Stefano Stabellini

Re: [Xen-devel] [RFC 17/22] xen/arm: p2m: Introduce a helper to check if an entry is a superpage

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > Use the level and the entry to know whether an entry is a superpage. > A superpage can only happen below level 3. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini > xen/arch/arm/p2m.c | 5

[Xen-devel] [linux-4.1 baseline-only test] 67638: regressions - FAIL

2016-09-05 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67638 linux-4.1 real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67638/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-xsm 11 guest-start

[Xen-devel] [qemu-mainline test] 100756: tolerable FAIL - PUSHED

2016-09-05 Thread osstest service owner
flight 100756 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/100756/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop fail like 100741 test-amd64-amd64-xl-rtds

[Xen-devel] [linux-3.18 test] 100758: tolerable FAIL - PUSHED

2016-09-05 Thread osstest service owner
flight 100758 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/100758/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): build-amd64-rumpuserxen 6 xen-buildfail like 100597 build-i386-rumpuserxen

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

2016-09-05 Thread osstest service owner
flight 100766 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/100766/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm 14 guest-saverestore.2 fail REGR. vs. 100751

[Xen-devel] [qemu-mainline baseline-only test] 67642: tolerable FAIL

2016-09-05 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 67642 qemu-mainline real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/67642/ Failures :-/ but no regressions. Regressions which are regarded as allowable (not blocking): test-amd64-amd64-qemuu-nested-intel 16

Re: [Xen-devel] [RFC 18/22] xen/arm: p2m: Introduce p2m_set_entry and __p2m_set_entry

2016-09-05 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > The ARM architecture mandates to use of a break-before-make sequence > when changing translation entries if the page table is shared between > multiple CPUs whenever a valid entry is replaced by another valid entry > (see D4.7.1 in ARM DDI 0487A.j for

Re: [Xen-devel] [PATCH] tools/firmware: Rename bios.bin to seabios.bin

2016-09-05 Thread Anthony PERARD
On Mon, Aug 22, 2016 at 11:24:05AM +0100, Wei Liu wrote: > On Fri, Aug 19, 2016 at 03:26:23PM +0100, Andrew Cooper wrote: > > bios.bin as a name is far too generic. Rename it to seabios.bin. > > > > Signed-off-by: Andrew Cooper > > Hmm... I remember the first few

[Xen-devel] [PATCH 1/1] xen: move TLB-flush filtering out into populate_physmap

2016-09-05 Thread Dongli Zhang
This patch implemented parts of TODO left in commit id a902c12ee45fc9389eb8fe54eeddaf267a555c58. It moved TLB-flush filtering out into populate_physmap. Because of TLB-flush in alloc_heap_pages, it's very slow to create a guest with memory size of more than 100GB on host with 100+ cpus. This

Re: [Xen-devel] [PATCH] x86: correct CPUID output for out of bounds input

2016-09-05 Thread Jan Beulich
>>> On 02.09.16 at 17:14, wrote: > On 01/09/16 16:27, Jan Beulich wrote: >> +{ +if ( d->arch.x86_vendor == X86_VENDOR_AMD ) +{ +*eax = 0; +*ebx = 0; +*ecx = 0;

Re: [Xen-devel] [PATCH 2/3] mini-os: add testbuild target to Makefile

2016-09-05 Thread Juergen Gross
On 03/09/16 02:41, Samuel Thibault wrote: > Juergen Gross, on Fri 02 Sep 2016 10:56:46 +0200, wrote: >> Add a "testbuild" target to the Makefile to test building a set of >> pre-defined configurations. >> >> Configurations tested are stored under arch//testbuild in form >> of configuration files.

<    1   2