[Xen-devel] [PATCH 02/12] arm/{v,}gic: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/gic-v2.c | 4 ++-- xen/arch/arm/gic-v3.c | 10 +- xen/arch/arm/vgic-v2.c| 4 ++-- xen/arch/arm/vgic-v3.c| 4 ++-- xen/include/asm-arm/gic.h | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff

[Xen-devel] [PATCH 03/12] arm/domain_build: switch to plain bool

2017-09-15 Thread Wei Liu
Also fixed a coding style issue. Signed-off-by: Wei Liu --- xen/arch/arm/domain_build.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index d6f9585503..c34238ec1b

[Xen-devel] [PATCH 05/12] arm/platform: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/platform.c | 14 +++--- xen/arch/arm/platforms/exynos5.c | 4 ++-- xen/include/asm-arm/platform.h | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/xen/arch/arm/platform.c

[Xen-devel] [PATCH 08/12] arm/bootfdt.c: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/bootfdt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/arch/arm/bootfdt.c b/xen/arch/arm/bootfdt.c index ea188a08b1..4a687e725d 100644 --- a/xen/arch/arm/bootfdt.c +++ b/xen/arch/arm/bootfdt.c

[Xen-devel] [PATCH 01/12] arm/acpi: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/acpi/boot.c | 6 +++--- xen/arch/arm/acpi/lib.c| 8 xen/arch/arm/setup.c | 2 +- xen/include/asm-arm/acpi.h | 10 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git

Re: [Xen-devel] [PATCH 04/14] fuzz/x86_emulate: Add a better input size check

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:33PM +0100, George Dunlap wrote: > For some reason the 'feof()' check for the file size isn't working in > llvm-clang-fast mode; the result is several kilobyte files rather than > the 4k limit files as we've requested. This is bad in part because > AFL will spend

Re: [Xen-devel] [PATCH v5 11/11] vpci/msix: add MSI-X handlers

2017-09-15 Thread Roger Pau Monné
On Fri, Sep 15, 2017 at 05:43:15AM -0600, Jan Beulich wrote: > >>> On 15.09.17 at 12:44, wrote: > > On Thu, Sep 07, 2017 at 10:12:59AM -0600, Jan Beulich wrote: > >> >>> On 14.08.17 at 16:28, wrote: > >> > +for ( i = 0; i < ARRAY_SIZE(bar->msix);

[Xen-devel] [PATCH 09/12] arm/decode.c: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/decode.c b/xen/arch/arm/decode.c index 514b7a21a5..795d126f02 100644 --- a/xen/arch/arm/decode.c +++ b/xen/arch/arm/decode.c @@ -26,7 +26,7

[Xen-devel] [PATCH 04/12] arm/irq: switch to plain bool

2017-09-15 Thread Wei Liu
Also removed a redundant pair of brackets. Signed-off-by: Wei Liu --- xen/arch/arm/irq.c| 12 ++-- xen/include/asm-arm/irq.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c index

[Xen-devel] [PATCH 06/12] arm/alternative.c: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/alternative.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/alternative.c b/xen/arch/arm/alternative.c index a3bcda3117..9ffdc475d6 100644 --- a/xen/arch/arm/alternative.c +++

[Xen-devel] [PATCH 07/12] arm/cpu{errata, feature}.[ch]: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/cpuerrata.c | 2 +- xen/include/asm-arm/cpuerrata.h | 8 xen/include/asm-arm/cpufeature.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xen/arch/arm/cpuerrata.c b/xen/arch/arm/cpuerrata.c

[Xen-devel] [PATCH 00/12] xen/arm: eliminate bool_t from arch-arm code

2017-09-15 Thread Wei Liu
After this series, arch arm code is bool_t free. $ git grep bool_t xen/arch/arm xen/include/asm-arm; echo $? 1 Compile-test only. Wei Liu (12): arm/acpi: switch to plain bool arm/{v,}gic: switch to plain bool arm/domain_build: switch to plain bool arm/irq: switch to plain bool

[Xen-devel] [PATCH 12/12] arm: use plain bool in various headers

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/include/asm-arm/altp2m.h | 4 ++-- xen/include/asm-arm/arm64/insn.h | 2 +- xen/include/asm-arm/domain.h | 2 +- xen/include/asm-arm/guest_access.h | 2 +- xen/include/asm-arm/p2m.h | 8 5 files changed, 9

[Xen-devel] [PATCH 11/12] arm/vtimer.c: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/vtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c index 0460962f08..3f84893a74 100644 --- a/xen/arch/arm/vtimer.c +++ b/xen/arch/arm/vtimer.c @@ -100,7 +100,7 @@

Re: [Xen-devel] [PATCH 01/12] arm/acpi: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h index 9f954d39e1..a62429e7e2 100644 --- a/xen/include/asm-arm/acpi.h +++ b/xen/include/asm-arm/acpi.h @@ -43,8 +43,8 @@ typedef enum { TBL_MMAX, } EFI_MEM_RES; -bool_t

Re: [Xen-devel] [PATCH 05/14] fuzz/x86_emulate: Improve failure descriptions in x86_emulate harness

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:34PM +0100, George Dunlap wrote: > - Print the symbolic name rather than the number > - Explicitly state when data_read() fails due to EOI > > Signed-off-by: George Dunlap > --- > CC: Ian Jackson > CC: Wei Liu

[Xen-devel] [linux-3.18 test] 113455: regressions - FAIL

2017-09-15 Thread osstest service owner
flight 113455 linux-3.18 real [real] http://logs.test-lab.xenproject.org/osstest/logs/113455/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-win7-amd64 18 guest-start/win.repeat fail in 113424 REGR. vs. 113128

Re: [Xen-devel] [Minios-devel] [MirageOS-devel] [Xen-API] [RFC] Unicore Subproject Proposal

2017-09-15 Thread Simon Kuenzer
Hey Samuel, On 14.09.2017 16:47, Samuel Thibault wrote: Hello, Anil Madhavapeddy, on jeu. 14 sept. 2017 15:38:54 +0100, wrote: On 13 Sep 2017, at 17:13, Samuel Thibault wrote: Anil Madhavapeddy, on mer. 13 sept. 2017 11:11:03 +0100, wrote: Maintaining a forked

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

2017-09-15 Thread osstest service owner
flight 113453 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/113453/ 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 REGR. vs. 113423

[Xen-devel] [PATCH] libxl: provide typedefs for device framework functions

2017-09-15 Thread Wei Liu
Use the new typedefs to avoid copy-n-paste everywhere. No functional change. Signed-off-by: Wei Liu --- tools/libxl/libxl_9pfs.c | 6 ++-- tools/libxl/libxl_console.c | 6 ++-- tools/libxl/libxl_disk.c | 5 ++-- tools/libxl/libxl_internal.h | 71

Re: [Xen-devel] [PATCH 03/12] arm/domain_build: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Also fixed a coding style issue. Signed-off-by: Wei Liu Acked-by: Julien Grall Cheers, -- Julien Grall ___ Xen-devel mailing list Xen-devel@lists.xen.org

Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: > diff --git a/tools/fuzz/x86_instruction_emulator/Makefile > b/tools/fuzz/x86_instruction_emulator/Makefile > index 10009dc08f..629e191029 100644 > --- a/tools/fuzz/x86_instruction_emulator/Makefile > +++

Re: [Xen-devel] [PATCH v6 10/12] xen/arm: move arch specific grant table bits into grant_table.c

2017-09-15 Thread Juergen Gross
On 15/09/17 10:49, Julien Grall wrote: > Hi Juergen, > > On 15/09/2017 08:22, Juergen Gross wrote: >> On 14/09/17 19:31, Julien Grall wrote: >>> Hi Juergen, >>> >>> On 13/09/17 16:46, Juergen Gross wrote: diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h

Re: [Xen-devel] [MirageOS-devel] [Minios-devel] [Xen-API] [RFC] Unicore Subproject Proposal

2017-09-15 Thread Anil Madhavapeddy
> On 15 Sep 2017, at 09:36, Simon Kuenzer wrote: > > Hey Anil, > > On 13.09.2017 12:11, Anil Madhavapeddy wrote: >> On 11 Sep 2017, at 13:08, Simon Kuenzer wrote: >>> Just my 2 cents: 1. Is this academic project, or it have specific

Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version

2017-09-15 Thread Jan Beulich
>>> On 15.09.17 at 15:00, wrote: > So I've found the data I've searched in the hypervisor. The maximum > frame number to expect can be calculated from max_page, mem_hotplug > and the maximum physical address from cpuid node 0x8008. If > CONFIG_BIGMEM isn't defined in Xen it

[Xen-devel] [PATCH 10/12] arm/smpboot.c: switch to plain bool

2017-09-15 Thread Wei Liu
Signed-off-by: Wei Liu --- xen/arch/arm/smpboot.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index 32e87221c0..1255185a9c 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@

Re: [Xen-devel] [PATCH 02/12] arm/{v,}gic: switch to plain bool

2017-09-15 Thread Wei Liu
On Fri, Sep 15, 2017 at 11:48:40AM +0100, Julien Grall wrote: > Hi Wei, > > On 09/15/2017 10:42 AM, Wei Liu wrote: > > diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h > > index 6203dc59f4..977e75b1d2 100644 > > --- a/xen/include/asm-arm/gic.h > > +++ b/xen/include/asm-arm/gic.h

Re: [Xen-devel] Feature control on PV devices

2017-09-15 Thread Juergen Gross
On 15/09/17 13:19, Wei Liu wrote: > On Thu, Sep 14, 2017 at 05:18:44PM +0100, Joao Martins wrote: >> On 09/14/2017 05:10 PM, Wei Liu wrote: >>> On Thu, Sep 07, 2017 at 05:53:54PM +0100, Joao Martins wrote: Hey! We wanted to brought up this small proposal regarding the lack of

Re: [Xen-devel] [PATCH 07/14] fuzz/x86_emulate: Rename the file containing the wrapper code

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:36PM +0100, George Dunlap wrote: > When generating coverage output, by default gcov generates output > filenames based only on the coverage file and the "leaf" source file, > not the full path. As a result, it uses the same name for > x86_emulate.c and

Re: [Xen-devel] [PATCH 05/14] fuzz/x86_emulate: Improve failure descriptions in x86_emulate harness

2017-09-15 Thread George Dunlap
> On Sep 15, 2017, at 12:41 PM, Wei Liu wrote: > > On Fri, Aug 25, 2017 at 05:43:34PM +0100, George Dunlap wrote: >> - Print the symbolic name rather than the number >> - Explicitly state when data_read() fails due to EOI >> >> Signed-off-by: George Dunlap

Re: [Xen-devel] [MirageOS-devel] [Minios-devel] [Xen-API] [RFC] Unicore Subproject Proposal

2017-09-15 Thread Simon Kuenzer
On 15.09.2017 11:35, Anil Madhavapeddy wrote: On 15 Sep 2017, at 09:36, Simon Kuenzer > wrote: Hey Anil, On 13.09.2017 12:11, Anil Madhavapeddy wrote: On 11 Sep 2017, at 13:08, Simon Kuenzer

Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: > ...to generate a "normal" coverage-instrumented binary, suitable for > use with gcov or afl-cov. > > This is slightly annoying because: > > - Every object file needs to have been instrumented to work >effectively > > - You

Re: [Xen-devel] [PATCH 09/14] fuzz/x86_emulate: Take multiple test files for inputs

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:38PM +0100, George Dunlap wrote: > Finding aggregate coverage for a set of test files means running each > afl-generated test case through the harness. At the moment, this is > done by re-executing afl-harness-cov with each input file. When a > large number of test

Re: [Xen-devel] Feature control on PV devices

2017-09-15 Thread Wei Liu
On Thu, Sep 14, 2017 at 05:18:44PM +0100, Joao Martins wrote: > On 09/14/2017 05:10 PM, Wei Liu wrote: > > On Thu, Sep 07, 2017 at 05:53:54PM +0100, Joao Martins wrote: > >> Hey! > >> > >> We wanted to brought up this small proposal regarding the lack of > >> parameterization on PV devices on Xen.

Re: [Xen-devel] [PATCH 02/12] arm/{v,}gic: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h index 6203dc59f4..977e75b1d2 100644 --- a/xen/include/asm-arm/gic.h +++ b/xen/include/asm-arm/gic.h @@ -345,7 +345,7 @@ struct gic_hw_operations { void (*update_lr)(int lr,

Re: [Xen-devel] [PATCH 01/12] arm/acpi: switch to plain bool

2017-09-15 Thread Wei Liu
On Fri, Sep 15, 2017 at 11:40:00AM +0100, Julien Grall wrote: > Hi Wei, > > On 09/15/2017 10:42 AM, Wei Liu wrote: > > diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h > > index 9f954d39e1..a62429e7e2 100644 > > --- a/xen/include/asm-arm/acpi.h > > +++

Re: [Xen-devel] [PATCH] xen: grant-table: Simplify get_page_frame

2017-09-15 Thread Jan Beulich
>>> On 14.09.17 at 18:49, wrote: > get_page_from_gfn will be able to get reference on foreign page and as > per my understanding will allow to grant page on foreign memory. > > This was not allowed with a simple get_page(...) on the ARM > implementation (no sharing nor

Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version

2017-09-15 Thread Juergen Gross
On 13/09/17 11:23, Juergen Gross wrote: > On 12/09/17 20:54, Andrew Cooper wrote: >> On 08/09/17 15:48, Juergen Gross wrote: >>> static void gnttab_request_version(void) >>> { >>> - int rc; >>> + long rc; >>> struct gnttab_set_version gsv; >>> >>> - gsv.version = 1; >>> + rc =

Re: [Xen-devel] q35 support in Xen

2017-09-15 Thread Alexey G
Hi, On Thu, 14 Sep 2017 16:39:32 +0800 Yi Sun wrote: > Hi, Alexey, > > Have you submitted the patches? If yes, could you please share the link? Sorry, had a lot of work recently -- so far I've managed to submit only the bugfix for mentioned xen-mapcache issue with

Re: [Xen-devel] [PATCH v5 11/11] vpci/msix: add MSI-X handlers

2017-09-15 Thread Roger Pau Monné
On Thu, Sep 07, 2017 at 10:12:59AM -0600, Jan Beulich wrote: > >>> On 14.08.17 at 16:28, wrote: > > +void vpci_msix_arch_mask(struct vpci_arch_msix_entry *arch, > > + struct pci_dev *pdev, bool mask) > > +{ > > +if ( arch->pirq == INVALID_PIRQ ) >

Re: [Xen-devel] [PATCH 03/14] fuzz/x86_emulate: Actually use cpu_regs input

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:32PM +0100, George Dunlap wrote: > Commit c07574b reorganized the way fuzzing was done, explicitly > creating a structure that the input data would be copied into. > > Unfortunately, the cpu register state used by the emulator is on the > stack; it's cleared, but

Re: [Xen-devel] [RFC] Unicore Subproject Proposal

2017-09-15 Thread Simon Kuenzer
Hey Alexander, On 13.09.2017 10:36, Alexander Dubinin wrote: Hello Simon, all, 1. Is this academic project, or it have specific goals and areas of application? Would be good to have some practical use-cases and well formulated list of problems (we all feel these by

Re: [Xen-devel] [PATCH v5 11/11] vpci/msix: add MSI-X handlers

2017-09-15 Thread Jan Beulich
>>> On 15.09.17 at 12:44, wrote: > On Thu, Sep 07, 2017 at 10:12:59AM -0600, Jan Beulich wrote: >> >>> On 14.08.17 at 16:28, wrote: >> > +for ( i = 0; i < ARRAY_SIZE(bar->msix); i++ ) >> > +{ >> > +struct vpci_msix_mem *msix =

Re: [Xen-devel] Feature control on PV devices

2017-09-15 Thread Wei Liu
On Fri, Sep 15, 2017 at 01:34:49PM +0200, Juergen Gross wrote: > > Backends reads and seeds with (and assuming it passes backend validation > ofc): > > /local/domain/0/backend/vif/8/0/multi-queue-max-queues = 2 >

Re: [Xen-devel] Feature control on PV devices

2017-09-15 Thread Joao Martins
On 09/15/2017 12:34 PM, Juergen Gross wrote: > On 15/09/17 13:19, Wei Liu wrote: >> On Thu, Sep 14, 2017 at 05:18:44PM +0100, Joao Martins wrote: >>> On 09/14/2017 05:10 PM, Wei Liu wrote: On Thu, Sep 07, 2017 at 05:53:54PM +0100, Joao Martins wrote: > Hey! > > We wanted to

Re: [Xen-devel] [PATCH 07/12] arm/cpu{errata, feature}.[ch]: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu --- xen/arch/arm/cpuerrata.c | 2 +- xen/include/asm-arm/cpuerrata.h | 8 xen/include/asm-arm/cpufeature.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [Xen-devel] [PATCH v2 2/5] libxl: enable per-VCPU extratime flag for RTDS

2017-09-15 Thread Meng Xu
On Wed, Sep 13, 2017 at 8:16 PM, Dario Faggioli wrote: > On Fri, 2017-09-01 at 12:03 -0400, Meng Xu wrote: >> On Fri, Sep 1, 2017 at 11:58 AM, Meng Xu >> wrote: >> > @@ -705,6 +717,12 @@ static int sched_rtds_domain_set(libxl__gc >> > *gc,

Re: [Xen-devel] [PATCH 05/12] arm/platform: switch to plain bool

2017-09-15 Thread Julien Grall
On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu Reviewed-by: Julien Grall --- xen/arch/arm/platform.c | 14 +++--- xen/arch/arm/platforms/exynos5.c | 4 ++-- xen/include/asm-arm/platform.h | 4 ++-- 3

Re: [Xen-devel] [PATCH 06/12] arm/alternative.c: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu Reviewed-by: Julien Grall Cheers, --- xen/arch/arm/alternative.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/alternative.c

Re: [Xen-devel] [PATCH] xen: grant-table: Simplify get_page_frame

2017-09-15 Thread Julien Grall
Hi Jan, On 09/15/2017 01:15 PM, Jan Beulich wrote: On 14.09.17 at 18:49, wrote: get_page_from_gfn will be able to get reference on foreign page and as per my understanding will allow to grant page on foreign memory. This was not allowed with a simple get_page(...) on

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-09-15 Thread Konrad Rzeszutek Wilk
> +### Soft-reset for PV guests s/PV/HVM/ > + > +Status: Supported > + > +Soft-reset allows a new kernel to start 'from scratch' with a fresh VM > state, > +but with all the memory from the previous state of the VM intact. > +This is primarily designed to allow "crash kernels", >

Re: [Xen-devel] [PATCH 4/4] xen: select grant interface version

2017-09-15 Thread Juergen Gross
On 15/09/17 15:21, Jan Beulich wrote: On 15.09.17 at 15:00, wrote: >> So I've found the data I've searched in the hypervisor. The maximum >> frame number to expect can be calculated from max_page, mem_hotplug >> and the maximum physical address from cpuid node 0x8008. If

Re: [Xen-devel] [PATCH 08/14] fuzz/x86_emulate: Add 'afl-cov' target

2017-09-15 Thread George Dunlap
On 09/15/2017 01:57 PM, Wei Liu wrote: > On Fri, Aug 25, 2017 at 05:43:37PM +0100, George Dunlap wrote: >> diff --git a/tools/fuzz/x86_instruction_emulator/Makefile >> b/tools/fuzz/x86_instruction_emulator/Makefile >> index 10009dc08f..629e191029 100644 >> ---

[Xen-devel] [xen-4.5-testing baseline-only test] 72109: regressions - FAIL

2017-09-15 Thread Platform Team regression test user
This run is configured for baseline tests only. flight 72109 xen-4.5-testing real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/72109/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-xl-vhd 10

Re: [Xen-devel] [PATCH 10/12] arm/smpboot.c: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu Reviewed-by: Julien Grall --- xen/arch/arm/smpboot.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/arch/arm/smpboot.c

Re: [Xen-devel] [PATCH v2 1/5] xen:rtds: towards work conserving RTDS

2017-09-15 Thread Meng Xu
Hi Dario, On Wed, Sep 13, 2017 at 9:06 PM, Dario Faggioli wrote: > > On Fri, 2017-09-01 at 11:58 -0400, Meng Xu wrote: > > Make RTDS scheduler work conserving without breaking the real-time > > guarantees. > > > > VCPU model: > > Each real-time VCPU is extended to have

Re: [Xen-devel] [PATCH 09/12] arm/decode.c: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu --- xen/arch/arm/decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/arm/decode.c b/xen/arch/arm/decode.c index 514b7a21a5..795d126f02 100644 ---

Re: [Xen-devel] [PATCH 12/12] arm: use plain bool in various headers

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu --- xen/include/asm-arm/altp2m.h | 4 ++-- xen/include/asm-arm/arm64/insn.h | 2 +- xen/include/asm-arm/domain.h | 2 +- xen/include/asm-arm/guest_access.h | 2 +-

Re: [Xen-devel] [PATCH 09/14] fuzz/x86_emulate: Take multiple test files for inputs

2017-09-15 Thread George Dunlap
On 09/15/2017 02:07 PM, Wei Liu wrote: > On Fri, Aug 25, 2017 at 05:43:38PM +0100, George Dunlap wrote: >> Finding aggregate coverage for a set of test files means running each >> afl-generated test case through the harness. At the moment, this is >> done by re-executing afl-harness-cov with each

Re: [Xen-devel] [PATCH 14/14] fuzz/x86_emulate: Add an option to limit the number of instructions executed

2017-09-15 Thread George Dunlap
On 09/15/2017 02:38 PM, Wei Liu wrote: > On Fri, Aug 25, 2017 at 05:43:43PM +0100, George Dunlap wrote: >> AFL considers a testcase to be a useful addition not only if there are >> tuples exercised by that testcase which were not exercised otherwise, >> but also if the *number* of times an

Re: [Xen-devel] [PATCH 04/12] arm/irq: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Also removed a redundant pair of brackets. Signed-off-by: Wei Liu Reviewed-by: Julien Grall Cheers, -- Julien Grall ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH 11/12] arm/vtimer.c: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu Reviewed-by: Julien Grall Cheers, --- xen/arch/arm/vtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/vtimer.c

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

2017-09-15 Thread osstest service owner
flight 113462 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/113462/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 11b4463e096523fe03ac840472d483652ae93904 baseline version: ovmf

Re: [Xen-devel] [PATCH] mm: Scrub pages returned back to heap if MEMF_no_scrub is set

2017-09-15 Thread Jan Beulich
>>> On 15.09.17 at 16:04, wrote: > Set free_heap_pages()'s need_scrub to true if alloc_domheap_pages() > returns pages back to heap as result of assign_pages() error when those > pages were requested with MEMF_no_scrub flag. > > We need to do this because there is a

Re: [Xen-devel] [PATCH 12/14] fuzz/x86_emulate: Add --rerun option to try to track down instability

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:41PM +0100, George Dunlap wrote: > Current stability numbers are not 100%. In order to help track this > down, add a --rerun option which will run the same input twice, > resetting the state in between each run, and comparing the state > afterwards. If the state

Re: [Xen-devel] [PATCH 02/12] arm/{v,}gic: switch to plain bool

2017-09-15 Thread Julien Grall
On 09/15/2017 12:09 PM, Wei Liu wrote: On Fri, Sep 15, 2017 at 11:48:40AM +0100, Julien Grall wrote: Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h index 6203dc59f4..977e75b1d2 100644 --- a/xen/include/asm-arm/gic.h +++

Re: [Xen-devel] [PATCH 14/14] fuzz/x86_emulate: Add an option to limit the number of instructions executed

2017-09-15 Thread Wei Liu
On Fri, Aug 25, 2017 at 05:43:43PM +0100, George Dunlap wrote: > AFL considers a testcase to be a useful addition not only if there are > tuples exercised by that testcase which were not exercised otherwise, > but also if the *number* of times an individual tuple is exercised > changes

Re: [Xen-devel] [PATCH 08/12] arm/bootfdt.c: switch to plain bool

2017-09-15 Thread Julien Grall
Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu Reviewed-by: Julien Grall Cheers, --- xen/arch/arm/bootfdt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/arch/arm/bootfdt.c

Re: [Xen-devel] [PATCH 09/12] arm/decode.c: switch to plain bool

2017-09-15 Thread Julien Grall
On 09/15/2017 03:39 PM, Wei Liu wrote: On Fri, Sep 15, 2017 at 03:33:27PM +0100, Julien Grall wrote: Hi Wei, On 09/15/2017 10:42 AM, Wei Liu wrote: Signed-off-by: Wei Liu --- xen/arch/arm/decode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[Xen-devel] [linux-4.9 test] 113458: regressions - FAIL

2017-09-15 Thread osstest service owner
flight 113458 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/113458/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemut-win7-amd64 16 guest-localmigrate/x10 fail REGR. vs. 113202 Tests which

Re: [Xen-devel] [PATCH 09/14] fuzz/x86_emulate: Take multiple test files for inputs

2017-09-15 Thread Wei Liu
On Fri, Sep 15, 2017 at 02:27:35PM +0100, George Dunlap wrote: > >> perror("fopen"); > >> @@ -87,7 +94,9 @@ int main(int argc, char **argv) > >> if ( !feof(fp) || size > INPUT_SIZE ) > >> { > >> printf("Input too large\n"); > >> -

[Xen-devel] [PATCH] mm: Scrub pages returned back to heap if MEMF_no_scrub is set

2017-09-15 Thread Boris Ostrovsky
Set free_heap_pages()'s need_scrub to true if alloc_domheap_pages() returns pages back to heap as result of assign_pages() error when those pages were requested with MEMF_no_scrub flag. We need to do this because there is a possibility that alloc_heap_pages() might clear buddy's PGC_need_scrubs

Re: [Xen-devel] [PATCH 09/12] arm/decode.c: switch to plain bool

2017-09-15 Thread Wei Liu
On Fri, Sep 15, 2017 at 03:33:27PM +0100, Julien Grall wrote: > Hi Wei, > > On 09/15/2017 10:42 AM, Wei Liu wrote: > > Signed-off-by: Wei Liu > > --- > > xen/arch/arm/decode.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git

Re: [Xen-devel] [PATCH] mm: Scrub pages returned back to heap if MEMF_no_scrub is set

2017-09-15 Thread Boris Ostrovsky
On 09/15/2017 12:05 PM, Jan Beulich wrote: On 15.09.17 at 16:04, wrote: >> Set free_heap_pages()'s need_scrub to true if alloc_domheap_pages() >> returns pages back to heap as result of assign_pages() error when those >> pages were requested with MEMF_no_scrub

Re: [Xen-devel] [PATCH] mm: Scrub pages returned back to heap if MEMF_no_scrub is set

2017-09-15 Thread Konrad Rzeszutek Wilk
On Fri, Sep 15, 2017 at 12:47:29PM -0400, Boris Ostrovsky wrote: > On 09/15/2017 12:05 PM, Jan Beulich wrote: > On 15.09.17 at 16:04, wrote: > >> Set free_heap_pages()'s need_scrub to true if alloc_domheap_pages() > >> returns pages back to heap as result of

Re: [Xen-devel] [PATCH v2 02/17] x86emul: re-order cases of main switch statement

2017-09-15 Thread Andrew Cooper
On 14/09/17 16:12, Jan Beulich wrote: Re-store intended numerical ordering, which has become "violated" mostly by incremental additions where moving around bigger chunks did not seem advisable. One exception though at the very top of the switch(): Keeping the arithmetic ops together seems

[Xen-devel] [PATCH 2/3] xen: RCU: make the period of the idle timer configurable.

2017-09-15 Thread Dario Faggioli
Make it possible for the user to specify, with the boot time parameter rcu_idle_timer_period_ms, how frequently a CPU that went idle with pending RCU callbacks should be woken up to check if the grace period ended. Typical values (i.e., some of the values used by Linux as the tick frequency) are

[Xen-devel] [PATCH 0/3] xen: RCU: Improve the idle timer handling

2017-09-15 Thread Dario Faggioli
Hello, this series is the followup of my previous RCU series. It contains: - the patch that makes the period of the RCU idle timer configurable, via a Xen boot time parameter, as suggested by Jan, during review of the original series (patch 2); - the patch that makse the period of the RCU

[Xen-devel] [PATCH 3/3] xen: RCU: make the period of the idle timer adaptive.

2017-09-15 Thread Dario Faggioli
Basically, if the RCU idle timer, when (if!) it fires, finds that the grace period isn't over, we increase the timer's period (i.e., it will fire later, next time). If, OTOH, it finds the grace period is already finished, we decrease the timer's period (i.e., it will fire a bit earlier next time).

[Xen-devel] [PATCH 1/3] xen: timers: don't miss a timer event because of stop_timer()

2017-09-15 Thread Dario Faggioli
If stop_timer() is called between when a timer interrupt arrives (and TIMER_SOFTIRQ is raised) and when softirqs are checked and handled, the timer that has fire is (right in stop_timer()) deactivated, and the handler for that occurrence of the interrupt never executed. This happens, e.g. to

[Xen-devel] [PATCH 13/22] tools/xenstore: get_handle: use "goto err" error handling style

2017-09-15 Thread Ian Jackson
Replace the ad-hoc exit clauses with the error handling style where - local variables contain either things to be freed, or sentinels - all error exits go via an "err" label which frees everything Signed-off-by: Ian Jackson --- tools/xenstore/xs.c | 21

[Xen-devel] [PATCH 08/22] xentoolcore_restrict_all: "Implement" for libxencall

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/Rules.mk| 2 +- tools/libs/call/Makefile | 4 ++-- tools/libs/call/core.c| 37 + tools/libs/call/linux.c | 4 tools/libs/call/private.h | 2 ++

[Xen-devel] [PATCH 03/22] xentoolcore, _restrict_all: Introduce new library and implementation

2017-09-15 Thread Ian Jackson
In practice, qemu opens a great many fds. Tracking them all down and playing whack-a-mole is unattractive. It is also potentially fragile in that future changes might accidentally undo our efforts. Instead, we are going to teach all the Xen libraries how to register their fds so that they can

[Xen-devel] [PATCH 16/22] xentoolcore, _restrict_all: Document implementation "complete"

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/libs/toolcore/include/xentoolcore.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/libs/toolcore/include/xentoolcore.h b/tools/libs/toolcore/include/xentoolcore.h index 1210d7d..52f7aa3 100644 ---

[Xen-devel] [PATCH 20/22] libxl: userlookup_helper_getpwnam rename and turn into a macro

2017-09-15 Thread Ian Jackson
We are going to want versions of getpwuid, too. And maybe in the future getgr*. This is most sanely achieved with a macro, as otherwise the types are a mess. Signed-off-by: Ian Jackson --- tools/libxl/libxl_dm.c | 79

[Xen-devel] [PATCH 07/22] xentoolcore_restrict_all: Implement for libxendevicemodel

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/Rules.mk | 2 +- tools/libs/devicemodel/Makefile | 3 ++- tools/libs/devicemodel/core.c | 16 tools/libs/devicemodel/private.h| 3 +++

[Xen-devel] [PATCH 06/22] tools: move CONTAINER_OF to xentoolcore_internal.h

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/libs/toolcore/include/xentoolcore_internal.h | 42 ++ tools/libxl/libxl_internal.h | 30 2 files changed, 42 insertions(+), 30 deletions(-) diff --git

[Xen-devel] [PATCH 01/22] xen: Provide XEN_DMOP_remote_shutdown

2017-09-15 Thread Ian Jackson
SCHEDOP_remote_shutdown should be a DMOP so that a deprivileged qemu can do the propery tidying up. We should remove SCHEDOP_remote_shutdown at some point. CC: Jan Beulich CC: Andrew Cooper CC: George Dunlap CC: Konrad

[Xen-devel] [PATCH 02/22] tools: libxendevicemodel: Provide xendevicemodel_shutdown

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/libs/devicemodel/core.c | 16 tools/libs/devicemodel/include/xendevicemodel.h | 9 + tools/libs/devicemodel/libxendevicemodel.map| 1 + 3 files changed, 26 insertions(+) diff --git

[Xen-devel] [PATCH 10/22] xentoolcore_restrict_all: Implement for libxenforeignmemory

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- tools/Rules.mk | 2 +- tools/libs/foreignmemory/Makefile | 4 ++-- tools/libs/foreignmemory/core.c | 15 +++ tools/libs/foreignmemory/private.h | 3

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
On Thu, Sep 14, 2017 at 05:39:23PM -0400, Boris Ostrovsky wrote: > On 09/14/2017 05:26 PM, Konrad Rzeszutek Wilk wrote: > > On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: > >> On 09/13/2017 02:25 PM, Julien Grall wrote: > >>> Hi, > >>> > >>> On 09/13/2017 07:05 PM, Boris

[Xen-devel] [PATCH] xen: x86: mark xen_find_pt_base as __init

2017-09-15 Thread Arnd Bergmann
gcc-4.6 causes a harmless link-time warning: WARNING: vmlinux.o(.text.unlikely+0x48e): Section mismatch in reference from the function xen_find_pt_base() to the function .init.text:m2p() The function xen_find_pt_base() references the function __init m2p(). This is often because xen_find_pt_base

[Xen-devel] [libvirt test] 113465: tolerable all pass - PUSHED

2017-09-15 Thread osstest service owner
flight 113465 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/113465/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 113434 test-armhf-armhf-libvirt-xsm 14

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
.snip.. > (XEN) Loading dom0 DTB to 0x17e0-0x17e08265 > (XEN) init_domheap_pages: 0xb87b1->0xb87bc > (XEN) init_heap_pages: 0xb87b1 -> 0xb87bc > (XEN) init_domheap_pages: 0xb88f1->0xb98ae > (XEN) init_heap_pages: 0xb88f1 -> 0xb98ae <- so the memory is from here > > (XEN)

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Boris Ostrovsky
> So in other words, it looks like scrub_heap_pages is somehow not > including this MFN. That would be a problem. How does NUMA info look like? -boris ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [PATCH 2/3] python: Extract registered watch search logic from xspy_read_watch()

2017-09-15 Thread Euan Harris
When a watch fires, xspy_read_watch() checks whether the client has registered interest in the path which changed and, if so, returns the path and a client-supplied token. The binding for xs_check_watch() needs to do the same, so this patch extracts the search code into a separate function.

Re: [Xen-devel] [PATCH 1/3] python: Add binding for xs_fileno()

2017-09-15 Thread Konrad Rzeszutek Wilk
On Fri, Sep 15, 2017 at 05:35:34PM +0100, Euan Harris wrote: > xs_fileno() returns a file descriptor which receives events when Xenstore > watches fire. Exposing this in the Python bindings is a prerequisite > for writing event-driven clients in Python. > > Signed-off-by: Euan Harris

Re: [Xen-devel] [PATCH v2 13/17] x86emul: re-order checks in test harness

2017-09-15 Thread Andrew Cooper
On 14/09/17 16:19, Jan Beulich wrote: On older systems printing the "n/a" messages (resulting from the compiler not being new enough to deal with some of the test code) isn't very useful: If both CPU and compiler are too old for a certain test, we can as well omit those messages, as those tests

[Xen-devel] [PATCH 05/22] libxl: #include "xentoolcore_internal.h"

2017-09-15 Thread Ian Jackson
We are going to want to move something here. Signed-off-by: Ian Jackson --- tools/libxl/Makefile | 11 ++- tools/libxl/libxl_internal.h | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile

[Xen-devel] [PATCH 21/22] libxl: dm_restrict: Support uid range user

2017-09-15 Thread Ian Jackson
Signed-off-by: Ian Jackson --- docs/man/xl.cfg.pod.5.in | 11 ++- tools/libxl/libxl_dm.c | 32 tools/libxl/libxl_internal.h | 1 + 3 files changed, 43 insertions(+), 1 deletion(-) diff --git

  1   2   >