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

2020-01-10 Thread osstest service owner
flight 145908 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145908/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

[Xen-devel] [PATCH] MAINTAINERS: Update my email address

2020-01-10 Thread Paul Durrant
It is now more covenient for me to use my Amazon address. Signed-off-by: Paul Durrant --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Wei Liu --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertio

[Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Paul Durrant
As agreed during the 2020-01 community call [1] this patch introduces a changelog, based on the principles explained at keepachangelog.com [2]. A new MAINTAINERS entry is also added, with myself as (currently sole) maintainer. [1] See C.2 at https://cryptpad.fr/pad/#/2/pad/edit/ERZtMYD5j6k0sv-NG6H

Re: [Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Jan Beulich
On 10.01.2020 10:12, Paul Durrant wrote: > --- /dev/null > +++ b/CHANGELOG.md > @@ -0,0 +1,14 @@ > +# Changelog > + > +All notable changes to Xen will be documented in this file. How do we qualify what's "notable" and what's not? IOW I wonder whether "All" should be dropped, or be replaced by "Som

Re: [Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Lars Kurth
On 10/01/2020, 09:12, "Paul Durrant" wrote: As agreed during the 2020-01 community call [1] this patch introduces a changelog, based on the principles explained at keepachangelog.com [2]. A new MAINTAINERS entry is also added, with myself as (currently sole) maintainer.

Re: [Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Durrant, Paul
> -Original Message- > From: Jan Beulich > Sent: 10 January 2020 09:52 > To: Durrant, Paul > Cc: xen-devel@lists.xenproject.org; Andrew Cooper > ; George Dunlap ; > Ian Jackson ; Julien Grall ; > Konrad Rzeszutek Wilk ; Stefano Stabellini > ; Wei Liu ; Lars Kurth > > Subject: Re: [PATCH]

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

2020-01-10 Thread osstest service owner
flight 145906 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/145906/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 145842 test-armhf-armhf-libvirt-raw 13 saveresto

[Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Sergey Dyasli
Hide the following information that can help identify the running Xen binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. Add explicit cases for XENVER_commandline and XENVER_build_id as well. Introduce xsm_filter_denied() to hvmloader to remove "" string from guest's DMI t

Re: [Xen-devel] [PATCH] tools/Rules.mk: fix distclean

2020-01-10 Thread Wei Liu
On Thu, Jan 09, 2020 at 04:41:06PM +, Wei Liu wrote: > On Thu, Jan 09, 2020 at 02:02:55PM +, Durrant, Paul wrote: > > > -Original Message- > > > From: Wei Liu > > > Sent: 09 January 2020 13:52 > > > To: Durrant, Paul > > > Cc: xen-devel@lists.xenproject.org; Ian Jackson > > > ; We

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Andrew Cooper
On 10/01/2020 10:37, Sergey Dyasli wrote: > Hide the following information that can help identify the running Xen > binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. > Add explicit cases for XENVER_commandline and XENVER_build_id as well. > > Introduce xsm_filter_denied()

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

2020-01-10 Thread osstest service owner
flight 145915 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145915/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

Re: [Xen-devel] [PATCH v1 2/4] x86/xen: add basic KASAN support for PV kernel

2020-01-10 Thread Sergey Dyasli
On 09/01/2020 09:15, Jürgen Groß wrote: > On 08.01.20 16:20, Sergey Dyasli wrote: >> This enables to use Outline instrumentation for Xen PV kernels. >> >> KASAN_INLINE and KASAN_VMALLOC options currently lead to boot crashes >> and hence disabled. >> >> Signed-off-by: Sergey Dyasli >> --- >> RFC -

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Jan Beulich
On 10.01.2020 11:37, Sergey Dyasli wrote: > --- a/tools/firmware/hvmloader/util.c > +++ b/tools/firmware/hvmloader/util.c > @@ -995,6 +995,12 @@ void hvmloader_acpi_build_tables(struct acpi_config > *config, > hvm_param_set(HVM_PARAM_VM_GENERATION_ID_ADDR, config->vm_gid_addr); > } > > +vo

Re: [Xen-devel] [RFC PATCH 1/3] x86/setup: Don't skip 2MiB underneath relocated Xen image

2020-01-10 Thread Durrant, Paul
> -Original Message- > From: Xen-devel On Behalf Of > David Woodhouse > Sent: 08 January 2020 17:25 > To: Xen-devel > Cc: Stefano Stabellini ; Julien Grall > ; Wei Liu ; Konrad Rzeszutek Wilk > ; George Dunlap ; > Andrew Cooper ; p...@xen.org; Ian Jackson > ; Jan Beulich ; Roger Pau > Mon

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

2020-01-10 Thread osstest service owner
flight 145909 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/145909/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 145767 test-amd64-i386-xl-qemu

Re: [Xen-devel] [PATCH v1 2/4] x86/xen: add basic KASAN support for PV kernel

2020-01-10 Thread Sergey Dyasli
On 09/01/2020 23:27, Boris Ostrovsky wrote: > > > On 1/8/20 10:20 AM, Sergey Dyasli wrote: >> @@ -1943,6 +1973,15 @@ void __init xen_setup_kernel_pagetable(pgd_t *pgd, >> unsigned long max_pfn) >>   if (i && i < pgd_index(__START_KERNEL_map)) >>   init_top_pgt[i] = ((pgd_t *)xen_star

Re: [Xen-devel] [RFC PATCH 1/3] x86/setup: Don't skip 2MiB underneath relocated Xen image

2020-01-10 Thread David Woodhouse
On Fri, 2020-01-10 at 11:15 +, Durrant, Paul wrote: > > -Original Message- > > From: Xen-devel On Behalf > > Of > > David Woodhouse > > Sent: 08 January 2020 17:25 > > To: Xen-devel > > Cc: Stefano Stabellini ; Julien Grall > > ; Wei Liu ; Konrad Rzeszutek Wilk > > ; George Dunlap < >

Re: [Xen-devel] [PATCH v1 2/4] x86/xen: add basic KASAN support for PV kernel

2020-01-10 Thread kbuild test robot
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sergey-Dyasli/basic-KASAN-support-for-Xen-PV-domains/20200110-042623 bas

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

2020-01-10 Thread osstest service owner
flight 145923 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145923/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

[Xen-devel] [PATCH 6/8] libxl: event: Break out baton_wake

2020-01-10 Thread Ian Jackson
No functional change. Signed-off-by: Ian Jackson --- tools/libxl/libxl_event.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tools/libxl/libxl_event.c b/tools/libxl/libxl_event.c index 05559cad9a..4d57843cce 100644 --- a/tools/libxl/libxl_event.c +++

[Xen-devel] [PATCH 3/8] libxl: event: Introduce CTX_UNLOCK_EGC_FREE

2020-01-10 Thread Ian Jackson
This is a very common exit pattern. We are going to want to change this pattern. So we should make it into a macro of its own. No functional change. Signed-off-by: Ian Jackson --- tools/libxl/libxl_event.c| 18 ++ tools/libxl/libxl_fork.c | 6 ++ tools/libxl/libxl

[Xen-devel] [PATCH 2/8] libxl: event: Rename ctx.pollers_fd_changed to .pollers_active

2020-01-10 Thread Ian Jackson
We are going to use this a bit more widely. Make the name more general. Signed-off-by: Ian Jackson --- tools/libxl/libxl.c | 4 ++-- tools/libxl/libxl_event.c| 8 tools/libxl/libxl_internal.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/

[Xen-devel] [PATCH 4/8] libxl: event: Fix hang when mixing blocking and eventy calls

2020-01-10 Thread Ian Jackson
If the application calls libxl with ao_how==0 and also makes calls like _occurred, libxl will sometimes get stuck. The bug happens as follows (for example): Thread A libxl_do_thing(,ao_how==0) libxl_do_thing starts, sets up some callbacks libxl_do_thing exit path calls AO_I

[Xen-devel] [PATCH 7/8] libxl: event: Fix possible hang with libxl_osevent_beforepoll

2020-01-10 Thread Ian Jackson
If the application uses libxl_osevent_beforepoll, a similar hang is possible to the one described and fixed in libxl: event: Fix hang when mixing blocking and eventy calls Application behaviour would have to be fairly unusual, but it doesn't seem sensible to just leave this latent bug. We fix t

[Xen-devel] [PATCH 1/8] libxl: event: Rename poller.fds_changed to .fds_deregistered

2020-01-10 Thread Ian Jackson
This is only for deregistration. We are going to add another variable for new events, with different semantics, and this overly-general name will become confusing. Signed-off-by: Ian Jackson --- tools/libxl/libxl_event.c| 8 tools/libxl/libxl_internal.h | 6 +++--- 2 files changed,

[Xen-devel] [PATCH 0/8] libxl: event: Fix hang for some applications

2020-01-10 Thread Ian Jackson
The meat here, including a description of the bug, is in: libxl: event: Fix hang when mixing blocking and eventy calls I have compiled this but not tested it. We do not have a good test suite for this event stuff. (And races etc are hard to test.) George, can you check to see whether it fixes

[Xen-devel] [PATCH 5/8] libxl: event: poller pipe optimisation

2020-01-10 Thread Ian Jackson
Track in userland whether the poller pipe is nonempty. This saves us writing many many bytes to the pipe if nothing ever reads them. This is going to be relevant in a moment, where we are going to create a situation where this will happen quite a lot. Signed-off-by: Ian Jackson --- tools/libxl

[Xen-devel] [PATCH 8/8] libxl: event: Move poller pipe emptying to the end of afterpoll

2020-01-10 Thread Ian Jackson
If a timer event callback causes this poller to be woken (not very unlikely) we would go round the poll loop twice rather than once. Do the poller pipe emptying at the end; this is slightly more efficient because it can't cause any callbacks, so it happens after all the callbacks have been run. (

[Xen-devel] [xen-unstable test] 145903: tolerable FAIL

2020-01-10 Thread osstest service owner
flight 145903 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/145903/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-rtds 12 guest-start fail in 145879 pass in 145903 test-amd64-amd64-qemuu-nested-in

Re: [Xen-devel] [PATCH v1 4/4] xen/netback: Fix grant copy across page boundary with KASAN

2020-01-10 Thread Sergey Dyasli
On 09/01/2020 13:36, Paul Durrant wrote: > On Wed, 8 Jan 2020 at 15:21, Sergey Dyasli wrote: >> >> From: Ross Lagerwall >> >> When KASAN (or SLUB_DEBUG) is turned on, the normal expectation that >> allocations are aligned to the next power of 2 of the size does not >> hold. Therefore, handle gran

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

2020-01-10 Thread osstest service owner
flight 145926 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/145926/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 145767 test-amd64-i386-xl-qemu

Re: [Xen-devel] [PATCH v1 1/4] kasan: introduce set_pmd_early_shadow()

2020-01-10 Thread kbuild test robot
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sergey-Dyasli/basic-KASAN-support-for-Xen-PV-domains/20200110-042623 bas

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

2020-01-10 Thread osstest service owner
flight 145930 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145930/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread George Dunlap
On 1/10/20 11:02 AM, Andrew Cooper wrote: > On 10/01/2020 10:37, Sergey Dyasli wrote: >> Hide the following information that can help identify the running Xen >> binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. >> Add explicit cases for XENVER_commandline and XENVER_build

Re: [Xen-devel] [RFC PATCH V2 11/11] x86: tsc: avoid system instability in hibernation

2020-01-10 Thread Eduardo Valentin
Hey Peter, On Wed, Jan 08, 2020 at 11:50:11AM +0100, Peter Zijlstra wrote: > On Tue, Jan 07, 2020 at 11:45:26PM +, Anchal Agarwal wrote: > > From: Eduardo Valentin > > > > System instability are seen during resume from hibernation when system > > is under heavy CPU load. This is due to the l

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Jan Beulich
On 10.01.2020 16:28, George Dunlap wrote: > On 1/10/20 11:02 AM, Andrew Cooper wrote: >> On 10/01/2020 10:37, Sergey Dyasli wrote: >>> Hide the following information that can help identify the running Xen >>> binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. >>> Add explic

[Xen-devel] [PATCH v2 3/3] x86/tlb: use Xen L0 assisted TLB flush when available

2020-01-10 Thread Roger Pau Monne
Use Xen's L0 HVMOP_flush_tlbs hypercall in order to perform flushes. This greatly increases the performance of TLB flushes when running with a high amount of vCPUs as a Xen guest, and is specially important when running in shim mode. The following figures are from a PV guest running `make -j32 xen

[Xen-devel] [PATCH v2 1/3] x86/hvm: allow ASID flush when v != current

2020-01-10 Thread Roger Pau Monne
Current implementation of hvm_asid_flush_vcpu is not safe to use unless the target vCPU is either paused or the currently running one, as it modifies the generation without any locking. Fix this by using atomic operations when accessing the generation field, both in hvm_asid_flush_vcpu_asid and ot

[Xen-devel] [PATCH v2 2/3] x86/hvm: rework HVMOP_flush_tlbs

2020-01-10 Thread Roger Pau Monne
Current implementation of hvm_flush_vcpu_tlb is highly inefficient. First of all the call to flush_tlb_mask is completely useless when trying to flush the TLB of HVM guests, as this TLB flush is executed in root mode, and hence doesn't flush any guest state cache. Secondly, calling paging_update_

[Xen-devel] [PATCH v2 0/3] x86: improve assisted tlb flush and use it in guest mode

2020-01-10 Thread Roger Pau Monne
Hello, The following series aims to improve the TLB flush times when running nested Xen, and it's specially beneficial when running in shim mode. Patch #2 is likely the most controversial one, as it changes the implementation of assisted TLB flushes. I have to admit I haven't been able to figure

Re: [Xen-devel] [PATCH v2 0/3] x86: improve assisted tlb flush and use it in guest mode

2020-01-10 Thread Jan Beulich
On 10.01.2020 17:04, Roger Pau Monne wrote: > Patch #2 is likely the most controversial one, as it changes the > implementation of assisted TLB flushes. I have to admit I haven't been > able to figure out why HVM guest context flushes issued a > flush_tlb_mask, and the commit introducing such behav

Re: [Xen-devel] [PATCH V7 1/4] x86/mm: Add array_index_nospec to guest provided index values

2020-01-10 Thread Jan Beulich
On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: > Changes since V6: > - Remove stray spaces > - Use ARRAY_SIZE(d->arch.altp2m_p2m) insead of MAX_ALTP2M. I'm not utterly confused: > --- a/xen/arch/x86/mm/mem_access.c > +++ b/xen/arch/x86/mm/mem_access.c > @@ -366,11 +366,13 @@ long

Re: [Xen-devel] [PATCH v2 0/3] x86: improve assisted tlb flush and use it in guest mode

2020-01-10 Thread Roger Pau Monné
On Fri, Jan 10, 2020 at 05:08:16PM +0100, Jan Beulich wrote: > On 10.01.2020 17:04, Roger Pau Monne wrote: > > Patch #2 is likely the most controversial one, as it changes the > > implementation of assisted TLB flushes. I have to admit I haven't been > > able to figure out why HVM guest context flu

Re: [Xen-devel] [PATCH V7 2/4] x86/altp2m: Add hypercall to set a range of sve bits

2020-01-10 Thread Jan Beulich
On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: > By default the sve bits are not set. > This patch adds a new hypercall, xc_altp2m_set_supress_ve_multi(), > to set a range of sve bits. > The core function, p2m_set_suppress_ve_multi(), does not break in case > of a error and it is doing a best

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

2020-01-10 Thread osstest service owner
flight 145934 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145934/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

Re: [Xen-devel] [PATCH V7 4/4] x86/mm: Make use of the default access param from xc_altp2m_create_view

2020-01-10 Thread Jan Beulich
On 08.01.2020 15:08, Alexandru Stefan ISAILA wrote: > At this moment the default_access param from xc_altp2m_create_view is > not used. > > This patch assigns default_access to p2m->default_access at the time of > initializing a new altp2m view. > > Signed-off-by: Alexandru Isaila The tiny part

Re: [Xen-devel] [PATCH v2 1/4] x86/boot: Remove the preconstructed low 16M superpage mappings

2020-01-10 Thread Jan Beulich
On 09.01.2020 20:32, Andrew Cooper wrote: > These are left over from c/s b2804422 "x86: make Xen early boot code > relocatable", which made it possible for Xen not to be in the bottom 16M. > > Nothing using the mappings any more. Build them in the directmap when walking > the E820 table along wit

Re: [Xen-devel] [BUG] scripts/add_maintainers.pl adding empty Cc: lines

2020-01-10 Thread Lars Kurth
On 08/01/2020, 16:52, "Jürgen Groß" wrote: Just had a chat with Lars on IRC, which might be of common interest (and Lars asked me to post it to xen-devel): (17:00:16) juergen_gross: lars_kurth: any idea why ./scripts/add_maintainers.pl would add a "Cc:" without a mail add

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Jürgen Groß
On 10.01.20 16:56, Jan Beulich wrote: On 10.01.2020 16:28, George Dunlap wrote: On 1/10/20 11:02 AM, Andrew Cooper wrote: On 10/01/2020 10:37, Sergey Dyasli wrote: Hide the following information that can help identify the running Xen binary version: XENVER_extraversion, XENVER_compile_info, XE

Re: [Xen-devel] [PATCH v2 2/4] x86/boot: Clean up l?_bootmap[] construction

2020-01-10 Thread Jan Beulich
On 09.01.2020 20:32, Andrew Cooper wrote: > The need for Xen to be identity mapped into the bootmap is not obvious, and > differs between the MB and EFI boot paths. > > The EFI side is further complicated by an attempt to cope with with l2_bootmap > only being 4k long. This is undocumented, confu

Re: [Xen-devel] [PATCH v2 4/4] x86/boot: Drop INVALID_VCPU

2020-01-10 Thread Jan Beulich
On 09.01.2020 20:32, Andrew Cooper wrote: > Now that NULL will fault at boot, there is no need for a special constant to > signify "current not set up yet". > > Since c/s fae249d23413 "x86/boot: Rationalise stack handling during early > boot", the BSP cpu_info block is now consistently zero, so dr

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread George Dunlap
On 1/10/20 4:45 PM, Jürgen Groß wrote: > On 10.01.20 16:56, Jan Beulich wrote: >> On 10.01.2020 16:28, George Dunlap wrote: >>> On 1/10/20 11:02 AM, Andrew Cooper wrote: On 10/01/2020 10:37, Sergey Dyasli wrote: > Hide the following information that can help identify the running Xen >

Re: [Xen-devel] [PATCH v1 2/4] x86/xen: add basic KASAN support for PV kernel

2020-01-10 Thread kbuild test robot
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sergey-Dyasli/basic-KASAN-support-for-Xen-PV-domains/20200110-042623 bas

Re: [Xen-devel] [PATCH] tools/Rules.mk: fix distclean

2020-01-10 Thread Ian Jackson
Paul Durrant writes ("[PATCH] tools/Rules.mk: fix distclean"): > Running 'make distclean' under tools will currently result in: > > tools/Rules.mk:245: *** You have to run ./configure before building or > installing the tools. Stop. > > This patch adds 'distclean', 'subdir-distclean%' and 'subd

Re: [Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Andrew Cooper
On 10/01/2020 09:12, Paul Durrant wrote: > As agreed during the 2020-01 community call [1] this patch introduces a > changelog, based on the principles explained at keepachangelog.com [2]. > A new MAINTAINERS entry is also added, with myself as (currently sole) > maintainer. > > [1] See C.2 at http

Re: [Xen-devel] [PATCH v2 1/2] libxl: Get rid of some trailing whitespace

2020-01-10 Thread Ian Jackson
George Dunlap writes ("[PATCH v2 1/2] libxl: Get rid of some trailing whitespace"): > No functional changes. Acked-by: Ian Jackson ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 2/2] libxl: Add new "notify-only" childproc mode

2020-01-10 Thread George Dunlap
On 1/9/20 12:12 PM, George Dunlap wrote: > libxl needs to be able to know when processes it forks have completed. > > At the moment, libxl has two basic mode (with some variations). In > one mode -- libxl_sigchld_owner_libxl* -- libxl sets up its own > SIGCHLD signal handler, and also handles the

Re: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library

2020-01-10 Thread Andrew Cooper
On 10/01/2020 02:30, Tamas K Lengyel wrote: > The library has been largely untouched for over a decade at this point, it is > undocumented and it's unclear what it was originally used for. Remove it from > tree, if anyone needs it in the future it can be carved out from git history. > > Signed-off-

Re: [Xen-devel] [xen-unstable test] 145796: tolerable FAIL - PUSHED

2020-01-10 Thread Julien Grall
Hi all, On 08/01/2020 23:14, Julien Grall wrote: On Wed, 8 Jan 2020 at 21:40, osstest service owner wrote: flight 145796 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/145796/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

Re: [Xen-devel] [PATCH 2/2] Remove undocumented and unmaintained tools/memshr library

2020-01-10 Thread Tamas K Lengyel
On Fri, Jan 10, 2020 at 10:59 AM Andrew Cooper wrote: > > On 10/01/2020 02:30, Tamas K Lengyel wrote: > > The library has been largely untouched for over a decade at this point, it > > is > > undocumented and it's unclear what it was originally used for. Remove it > > from > > tree, if anyone ne

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

2020-01-10 Thread osstest service owner
flight 145939 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145939/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

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

2020-01-10 Thread osstest service owner
flight 145935 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/145935/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 145767 test-amd64-i386-xl-qemu

Re: [Xen-devel] [RFC PATCH V2 09/11] xen: Clear IRQD_IRQ_STARTED flag during shutdown PIRQs

2020-01-10 Thread Thomas Gleixner
Anchal, Anchal Agarwal writes: > On Thu, Jan 09, 2020 at 01:07:27PM +0100, Thomas Gleixner wrote: >> Anchal Agarwal writes: >> So either you can handle it purely on the XEN side without touching any >> core state or you need to come up with some way of letting the core code >> know that it shoul

[Xen-devel] [PATCH v6 11/11] xen: introduce ERRP_AUTO_PROPAGATE

2020-01-10 Thread Vladimir Sementsov-Ogievskiy
If we want to add some info to errp (by error_prepend() or error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. Otherwise, this info will not be added when errp == &error_fatal (the program will exit prior to the error_append_hint() or error_prepend() call). Fix such cases. If we want

[Xen-devel] [PATCH v6 01/11] qapi/error: add (Error **errp) cleaning APIs

2020-01-10 Thread Vladimir Sementsov-Ogievskiy
Signed-off-by: Vladimir Sementsov-Ogievskiy --- CC: Cornelia Huck CC: Eric Blake CC: Kevin Wolf CC: Max Reitz CC: Greg Kurz CC: Stefan Hajnoczi CC: Stefano Stabellini CC: Anthony Perard CC: Paul Durrant CC: "Philippe Mathieu-Daudé" CC: Laszlo Ersek CC: Gerd Hoffmann CC: Stefan Berger

[Xen-devel] [PATCH v6 02/11] error: auto propagated local_err

2020-01-10 Thread Vladimir Sementsov-Ogievskiy
Here is introduced ERRP_AUTO_PROPAGATE macro, to be used at start of functions with errp OUT parameter. It has three goals: 1. Fix issue with error_fatal & error_prepend/error_append_hint: user can't see this additional information, because exit() happens in error_setg earlier than information is

[Xen-devel] [PATCH v6 00/11] error: auto propagated local_err part I

2020-01-10 Thread Vladimir Sementsov-Ogievskiy
Hi all! Now, when preparations from [RFC v5 000/126] error: auto propagated local_err https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg02771.html https://src.openvz.org/scm/~vsementsov/qemu.git #tag up-auto-local-err-v5 , after some iterations, are finally merged, let's proceed with th

[Xen-devel] [PATCH v6 03/11] scripts: add coccinelle script to use auto propagated errp

2020-01-10 Thread Vladimir Sementsov-Ogievskiy
Signed-off-by: Vladimir Sementsov-Ogievskiy --- CC: Cornelia Huck CC: Eric Blake CC: Kevin Wolf CC: Max Reitz CC: Greg Kurz CC: Stefan Hajnoczi CC: Stefano Stabellini CC: Anthony Perard CC: Paul Durrant CC: "Philippe Mathieu-Daudé" CC: Laszlo Ersek CC: Gerd Hoffmann CC: Stefan Berger

Re: [Xen-devel] [PATCH] Introduce CHANGELOG.md

2020-01-10 Thread Lars Kurth
> On 10 Jan 2020, at 17:54, Andrew Cooper wrote: > > On 10/01/2020 09:12, Paul Durrant wrote: >> As agreed during the 2020-01 community call [1] this patch introduces a >> changelog, based on the principles explained at keepachangelog.com [2]. >> A new MAINTAINERS entry is also added, with myse

Re: [Xen-devel] [PATCH v6 00/11] error: auto propagated local_err part I

2020-01-10 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200110194158.14190-1-vsement...@virtuozzo.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Xen-devel] [PATCH v6 00/11] error: auto propagated local_err part I Type: series Message-id: 202001

[Xen-devel] [PATCH] get-maintainer.pl: Dont fall over when L: contains a display name

2020-01-10 Thread Lars Kurth
From: Lars Kurth Prior to this change e-mail addresses of the form "display name " would result into empty output. Also see https://lists.xenproject.org/archives/html/xen-devel/2020-01/msg00753.html Signed-off-by: Lars Kurth --- CC: jgr...@suse.com --- scripts/get_maintainer.pl | 2 +- 1 file

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

2020-01-10 Thread osstest service owner
flight 145947 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145947/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

[Xen-devel] [xen-unstable-smoke test] 145946: tolerable all pass - PUSHED

2020-01-10 Thread osstest service owner
flight 145946 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/145946/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-arm64-arm64-xl-xsm 13 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm 1

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

2020-01-10 Thread osstest service owner
flight 145948 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/145948/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 145767 test-amd64-i386-xl-qemu

[Xen-devel] [PATCH] xen/sched: rt: Fix typo in a comment

2020-01-10 Thread Julien Grall
Signed-off-by: Julien Grall --- xen/common/sched_rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c index b2b29481f3..c40a7e4990 100644 --- a/xen/common/sched_rt.c +++ b/xen/common/sched_rt.c @@ -122,7 +122,7 @@ */ /* * RTDS

Re: [Xen-devel] [RFC PATCH V2 09/11] xen: Clear IRQD_IRQ_STARTED flag during shutdown PIRQs

2020-01-10 Thread Anchal Agarwal
On Fri, Jan 10, 2020 at 08:13:16PM +0100, Thomas Gleixner wrote: > Anchal, > > Anchal Agarwal writes: > > On Thu, Jan 09, 2020 at 01:07:27PM +0100, Thomas Gleixner wrote: > >> Anchal Agarwal writes: > >> So either you can handle it purely on the XEN side without touching any > >> core state or y

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

2020-01-10 Thread osstest service owner
flight 145954 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145954/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

Re: [Xen-devel] [PATCH] xen/sched: rt: Fix typo in a comment

2020-01-10 Thread Meng Xu
On Fri, Jan 10, 2020 at 2:23 PM Julien Grall wrote: > > Signed-off-by: Julien Grall > --- > xen/common/sched_rt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/common/sched_rt.c b/xen/common/sched_rt.c > index b2b29481f3..c40a7e4990 100644 > --- a/xen/common/sched_

Re: [Xen-devel] [xen-unstable test] 145796: tolerable FAIL - PUSHED

2020-01-10 Thread Julien Grall
(+ Meng) Hi, Sorry I forgot to cc the RTDS scheduler maintainer. On 10/01/2020 18:24, Julien Grall wrote: Hi all, On 08/01/2020 23:14, Julien Grall wrote: On Wed, 8 Jan 2020 at 21:40, osstest service owner wrote: flight 145796 xen-unstable real [real] http://logs.test-lab.xenproject.org/o

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

2020-01-10 Thread osstest service owner
flight 145959 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145959/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

[Xen-devel] [PATCH v3] xen-pciback: optionally allow interrupt enable flag writes

2020-01-10 Thread Marek Marczykowski-Górecki
QEMU running in a stubdom needs to be able to set INTX_DISABLE, and the MSI(-X) enable flags in the PCI config space. This adds an attribute 'allow_interrupt_control' which when set for a PCI device allows writes to this flag(s). The toolstack will need to set this for stubdoms. When enabled, guest

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Doug Goldstein
On 1/10/20 9:28 AM, George Dunlap wrote: On 1/10/20 11:02 AM, Andrew Cooper wrote: On 10/01/2020 10:37, Sergey Dyasli wrote: Hide the following information that can help identify the running Xen binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. Add explicit cases for

Re: [Xen-devel] [PATCH v2] xsm: hide detailed Xen version from unprivileged guests

2020-01-10 Thread Doug Goldstein
On 1/10/20 4:37 AM, Sergey Dyasli wrote: Hide the following information that can help identify the running Xen binary version: XENVER_extraversion, XENVER_compile_info, XENVER_changeset. Add explicit cases for XENVER_commandline and XENVER_build_id as well. Introduce xsm_filter_denied() to hvm

[Xen-devel] [qemu-mainline bisection] complete build-amd64-xsm

2020-01-10 Thread osstest service owner
branch xen-unstable xenbranch xen-unstable job build-amd64-xsm testid xen-build Tree: ovmf git://xenbits.xen.org/osstest/ovmf.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://git.qemu.org/qemu.git Tree: seabios git://xenbits.xen.org/osstest/seabios.git Tree: xen git:

Re: [Xen-devel] [PATCH v1 1/4] kasan: introduce set_pmd_early_shadow()

2020-01-10 Thread kbuild test robot
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Sergey-Dyasli/basic-KASAN-support-for-Xen-PV-domains/20200110-042623 bas

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

2020-01-10 Thread osstest service owner
flight 145964 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145964/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64

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

2020-01-10 Thread osstest service owner
flight 145975 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/145975/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-xsm 6 xen-buildfail REGR. vs. 144861 build-arm64