Re: [RFC PATCH 1/1] xsm: allows system domains to allocate evtchn

2022-03-29 Thread Roger Pau Monné
On Mon, Mar 28, 2022 at 04:36:22PM -0400, Daniel P. Smith wrote: > During domain construction under dom0less and hyperlaunch it is necessary to > allocate at least the event channel for xenstore and potentially the event > channel for the core console. When dom0less and hyperlaunch are doing their

[linux-5.4 test] 168953: trouble: blocked/broken/pass

2022-03-29 Thread osstest service owner
flight 168953 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/168953/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 broken build-amd64-pvops

Re: Security support status of xnf(4) and xbf(4)

2022-03-29 Thread Claudio Jeker
On Mon, Mar 28, 2022 at 04:38:33PM -0400, Demi Marie Obenour wrote: > On 3/28/22 10:39, Mark Kettenis wrote: > >> Date: Mon, 28 Mar 2022 09:51:22 -0400 > >> From: Demi Marie Obenour > >> > >> On 3/27/22 21:45, Damien Miller wrote: > >>> On Fri, 25 Mar 2022, Demi Marie Obenour wrote: > >>> > L

RE: [PATCH v1 11/13] xen/arm: store shm-info for deferred foreign memory map

2022-03-29 Thread Penny Zheng
Hi Stefano > -Original Message- > From: Stefano Stabellini > Sent: Friday, March 18, 2022 10:01 AM > To: Penny Zheng > Cc: xen-devel@lists.xenproject.org; nd ; Stefano Stabellini > ; Julien Grall ; Bertrand Marquis > ; Volodymyr Babchuk > > Subject: Re: [PATCH v1 11/13] xen/arm: store s

Re: [PATCH v2 1/2] xen: Introduce a header to store common linker scripts content

2022-03-29 Thread Jan Beulich
On 22.03.2022 09:02, Michal Orzel wrote: > Both x86 and arm linker scripts share quite a lot of common content. > It is difficult to keep syncing them up, thus introduce a new header > in include/xen called xen.lds.h to store the internals mutual to all > the linker scripts. > > Include this heade

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Jan Beulich
On 22.03.2022 09:02, Michal Orzel wrote: > --- a/xen/arch/arm/xen.lds.S > +++ b/xen/arch/arm/xen.lds.S > @@ -69,10 +69,7 @@ SECTIONS > __proc_info_end = .; > > #ifdef CONFIG_HAS_VPCI > - . = ALIGN(POINTER_ALIGN); > - __start_vpci_array = .; > - *(SORT(.data.vpci.*)) > -

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Michal Orzel
Hi Jan, Thanks for review. On 29.03.2022 11:22, Jan Beulich wrote: > On 22.03.2022 09:02, Michal Orzel wrote: >> --- a/xen/arch/arm/xen.lds.S >> +++ b/xen/arch/arm/xen.lds.S >> @@ -69,10 +69,7 @@ SECTIONS >> __proc_info_end = .; >> >> #ifdef CONFIG_HAS_VPCI >> - . = ALIGN(POINTER

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Julien Grall
Hi, On 22/03/2022 08:02, Michal Orzel wrote: Populate header file xen.lds.h with the first portion of macros storing constructs common to x86 and arm linker scripts. Replace the original constructs with these helpers. No functional improvements to x86 linker script. Making use of common macros

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Michal Orzel
On 29.03.2022 11:54, Julien Grall wrote: > Hi, > > On 22/03/2022 08:02, Michal Orzel wrote: >> Populate header file xen.lds.h with the first portion of macros storing >> constructs common to x86 and arm linker scripts. Replace the original >> constructs with these helpers. >> >> No functional i

Re: [PATCH] build: generic top-level rule to build individual files

2022-03-29 Thread Anthony PERARD
On Mon, Mar 28, 2022 at 09:41:26AM +0200, Jan Beulich wrote: > --- a/Makefile > +++ b/Makefile > @@ -75,6 +75,13 @@ ifeq (x86_64,$(XEN_TARGET_ARCH)) > XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom pv-grub-if-enabled > endif > > +define do-subtree > +$(1)/%: FORCE > + $$(MAKE) -C $(1) $$* >

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Jan Beulich
On 29.03.2022 11:37, Michal Orzel wrote: > On 29.03.2022 11:22, Jan Beulich wrote: >> On 22.03.2022 09:02, Michal Orzel wrote: >>> --- a/xen/include/xen/xen.lds.h >>> +++ b/xen/include/xen/xen.lds.h >>> @@ -5,4 +5,104 @@ >>> * Common macros to be used in architecture specific linker scripts. >>>

[libvirt test] 168969: regressions - FAIL

2022-03-29 Thread osstest service owner
flight 168969 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/168969/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-amd64-libvirt

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Jan Beulich
On 29.03.2022 11:54, Julien Grall wrote: > On 22/03/2022 08:02, Michal Orzel wrote: >> --- a/xen/include/xen/xen.lds.h >> +++ b/xen/include/xen/xen.lds.h >> @@ -5,4 +5,104 @@ >>* Common macros to be used in architecture specific linker scripts. >>*/ >> >> +/* Macros to declare debug sect

Re: Security support status of xnf(4) and xbf(4)

2022-03-29 Thread Roger Pau Monné
On Tue, Mar 29, 2022 at 10:16:15AM +0200, Claudio Jeker wrote: > On Mon, Mar 28, 2022 at 04:38:33PM -0400, Demi Marie Obenour wrote: > > On 3/28/22 10:39, Mark Kettenis wrote: > > >> Date: Mon, 28 Mar 2022 09:51:22 -0400 > > >> From: Demi Marie Obenour > > >> > > >> On 3/27/22 21:45, Damien Miller

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Julien Grall
Hi, On 29/03/2022 11:12, Michal Orzel wrote: On 29.03.2022 11:54, Julien Grall wrote: Hi, On 22/03/2022 08:02, Michal Orzel wrote: Populate header file xen.lds.h with the first portion of macros storing constructs common to x86 and arm linker scripts. Replace the original constructs with thes

Re: [PATCH] build: generic top-level rule to build individual files

2022-03-29 Thread Jan Beulich
On 29.03.2022 12:28, Anthony PERARD wrote: > On Mon, Mar 28, 2022 at 09:41:26AM +0200, Jan Beulich wrote: >> --- a/Makefile >> +++ b/Makefile >> @@ -75,6 +75,13 @@ ifeq (x86_64,$(XEN_TARGET_ARCH)) >> XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom pv-grub-if-enabled >> endif >> >> +define do-subt

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Julien Grall
Hi Jan, On 29/03/2022 11:37, Jan Beulich wrote: On 29.03.2022 11:54, Julien Grall wrote: On 22/03/2022 08:02, Michal Orzel wrote: --- a/xen/include/xen/xen.lds.h +++ b/xen/include/xen/xen.lds.h @@ -5,4 +5,104 @@ * Common macros to be used in architecture specific linker scripts. */

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Michal Orzel
On 29.03.2022 12:54, Julien Grall wrote: > Hi, > > On 29/03/2022 11:12, Michal Orzel wrote: >> On 29.03.2022 11:54, Julien Grall wrote: >>> Hi, >>> >>> On 22/03/2022 08:02, Michal Orzel wrote: Populate header file xen.lds.h with the first portion of macros storing constructs common to

[ovmf test] 168954: trouble: blocked/broken

2022-03-29 Thread osstest service owner
flight 168954 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/168954/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 broken build-amd64-pvops

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Jan Beulich
On 29.03.2022 13:07, Julien Grall wrote: > On 29/03/2022 11:37, Jan Beulich wrote: >> On 29.03.2022 11:54, Julien Grall wrote: >>> On 22/03/2022 08:02, Michal Orzel wrote: --- a/xen/include/xen/xen.lds.h +++ b/xen/include/xen/xen.lds.h @@ -5,4 +5,104 @@ * Common macros to be

Re: [PATCH v2 2/2] xen: Populate xen.lds.h and make use of its macros

2022-03-29 Thread Jan Beulich
On 29.03.2022 12:54, Julien Grall wrote: > On 29/03/2022 11:12, Michal Orzel wrote: >> On 29.03.2022 11:54, Julien Grall wrote: >>> On 22/03/2022 08:02, Michal Orzel wrote: --- a/xen/include/xen/xen.lds.h +++ b/xen/include/xen/xen.lds.h @@ -5,4 +5,104 @@    * Common macros to b

Re: [PATCH] x86/physdev: Call xsm_unmap_domain_irq earlier

2022-03-29 Thread Jason Andryuk
On Mon, Mar 28, 2022 at 8:44 AM Jan Beulich wrote: > > On 28.03.2022 13:40, Roger Pau Monné wrote: > > On Fri, Mar 25, 2022 at 10:18:26AM -0400, Jason Andryuk wrote: > >> Pull the XSM check up out of unmap_domain_pirq into physdev_map_pirq. > >> > >> xsm_unmap_domain_irq was seen denying unmap_dom

[PATCH v2 3/3] x86/mem_sharing: make fork_reset more configurable

2022-03-29 Thread Tamas K Lengyel
Allow specify distinct parts of the fork VM to be reset. This is useful when a fuzzing operation involves mapping in only a handful of pages that are known ahead of time. Throwing these pages away just to be re-copied immediately is expensive, thus allowing to specify partial resets can speed thing

[PATCH v2 2/3] x86/mem_sharing: add fork_complete field to mem_sharing_domain

2022-03-29 Thread Tamas K Lengyel
The fork's physmap should only be populated with select special pages during the setup of the fork. The rest of the fork's physmap should only be populated as needed after the fork is complete. Add a field to specify when the fork is complete so fork_page() can determine whether it's time to start

[PATCH v2 1/3] x86/mem_sharing: option to enforce fork starting with empty p2m

2022-03-29 Thread Tamas K Lengyel
Add option to the fork memop to enforce a start with an empty p2m. Pre-populating special pages to the fork tend to be necessary only when setting up forks to be fully functional with a toolstack or if the fork makes use of them in some way. For short-lived forks these pages are optional and starti

[qemu-mainline test] 168962: trouble: blocked/broken/pass

2022-03-29 Thread osstest service owner
flight 168962 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/168962/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 broken build-amd64-pvops

[xen-4.14-testing test] 168957: trouble: blocked/broken/pass

2022-03-29 Thread osstest service owner
flight 168957 xen-4.14-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/168957/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 broken build-amd64-prev

Re: [PATCH v2 1/3] x86/mem_sharing: option to enforce fork starting with empty p2m

2022-03-29 Thread Jan Beulich
On 29.03.2022 16:03, Tamas K Lengyel wrote: > Add option to the fork memop to enforce a start with an empty p2m. > Pre-populating special pages to the fork tend to be necessary only when > setting > up forks to be fully functional with a toolstack or if the fork makes use of > them in some way. Fo

Re: [PATCH v2 2/3] x86/mem_sharing: add fork_complete field to mem_sharing_domain

2022-03-29 Thread Jan Beulich
On 29.03.2022 16:03, Tamas K Lengyel wrote: > The fork's physmap should only be populated with select special pages during > the setup of the fork. The rest of the fork's physmap should only be populated > as needed after the fork is complete. Add a field to specify when the fork is > complete so f

Re: [PATCH v2 1/3] x86/mem_sharing: option to enforce fork starting with empty p2m

2022-03-29 Thread Tamas K Lengyel
On Tue, Mar 29, 2022 at 11:42 AM Jan Beulich wrote: > > On 29.03.2022 16:03, Tamas K Lengyel wrote: > > Add option to the fork memop to enforce a start with an empty p2m. > > Pre-populating special pages to the fork tend to be necessary only when > > setting > > up forks to be fully functional wi

Re: Security support status of xnf(4) and xbf(4)

2022-03-29 Thread Demi Marie Obenour
On 3/29/22 04:16, Claudio Jeker wrote: > On Mon, Mar 28, 2022 at 04:38:33PM -0400, Demi Marie Obenour wrote: >> On 3/28/22 10:39, Mark Kettenis wrote: Date: Mon, 28 Mar 2022 09:51:22 -0400 From: Demi Marie Obenour On 3/27/22 21:45, Damien Miller wrote: > On Fri, 25 Mar 2022

[xen-unstable-smoke test] 168984: tolerable all pass - PUSHED

2022-03-29 Thread osstest service owner
flight 168984 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/168984/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm 1

[xen-4.15-testing test] 168970: regressions - FAIL

2022-03-29 Thread osstest service owner
flight 168970 xen-4.15-testing real [real] flight 168989 xen-4.15-testing real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/168970/ http://logs.test-lab.xenproject.org/osstest/logs/168989/ Regressions :-( Tests which did not succeed and are blocking, including tests which could

[xen-4.16-testing test] 168966: trouble: blocked/broken/pass

2022-03-29 Thread osstest service owner
flight 168966 xen-4.16-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/168966/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 broken build-amd64-prev

Re: [RFC PATCH 1/1] xsm: allows system domains to allocate evtchn

2022-03-29 Thread Daniel P. Smith
On 3/29/22 02:43, Jan Beulich wrote: > On 28.03.2022 22:36, Daniel P. Smith wrote: >> During domain construction under dom0less and hyperlaunch it is necessary to >> allocate at least the event channel for xenstore and potentially the event >> channel for the core console. When dom0less and hyperla

[linux-linus test] 168972: tolerable FAIL - PUSHED

2022-03-29 Thread osstest service owner
flight 168972 linux-linus real [real] flight 168995 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/168972/ http://logs.test-lab.xenproject.org/osstest/logs/168995/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-

Re: [RFC PATCH 1/1] xsm: allows system domains to allocate evtchn

2022-03-29 Thread Julien Grall
Hi Daniel, On 29/03/2022 19:57, Daniel P. Smith wrote: On 3/29/22 02:43, Jan Beulich wrote: On 28.03.2022 22:36, Daniel P. Smith wrote: During domain construction under dom0less and hyperlaunch it is necessary to allocate at least the event channel for xenstore and potentially the event channe

Re: [RFC PATCH 1/1] xsm: allows system domains to allocate evtchn

2022-03-29 Thread Daniel P. Smith
On 3/29/22 03:29, Roger Pau Monné wrote: > On Mon, Mar 28, 2022 at 04:36:22PM -0400, Daniel P. Smith wrote: >> During domain construction under dom0less and hyperlaunch it is necessary to >> allocate at least the event channel for xenstore and potentially the event >> channel for the core console.

[xen-unstable test] 168973: tolerable FAIL - PUSHED

2022-03-29 Thread osstest service owner
flight 168973 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/168973/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stopfail like 168855 test-armhf-armhf-libvirt 16 save

[ovmf test] 168981: regressions - FAIL

2022-03-29 Thread osstest service owner
flight 168981 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/168981/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[linux-5.4 test] 168976: tolerable FAIL - PUSHED

2022-03-29 Thread osstest service owner
flight 168976 linux-5.4 real [real] flight 169007 linux-5.4 real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/168976/ http://logs.test-lab.xenproject.org/osstest/logs/169007/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd6

Re: [RFC PATCH 1/1] xsm: allows system domains to allocate evtchn

2022-03-29 Thread Jan Beulich
On 29.03.2022 20:57, Daniel P. Smith wrote: > On 3/29/22 02:43, Jan Beulich wrote: >> On 28.03.2022 22:36, Daniel P. Smith wrote: >>> During domain construction under dom0less and hyperlaunch it is necessary to >>> allocate at least the event channel for xenstore and potentially the event >>> chann

Re: [PATCH v2 1/3] x86/mem_sharing: option to enforce fork starting with empty p2m

2022-03-29 Thread Jan Beulich
On 29.03.2022 18:10, Tamas K Lengyel wrote: > On Tue, Mar 29, 2022 at 11:42 AM Jan Beulich wrote: >> >> On 29.03.2022 16:03, Tamas K Lengyel wrote: >>> Add option to the fork memop to enforce a start with an empty p2m. >>> Pre-populating special pages to the fork tend to be necessary only when >>