Re: [PATCH v1 2/2] xen: mapcache: Fix unmapping of first entries in buckets

2024-07-05 Thread Edgar E. Iglesias
On Thu, Jul 4, 2024 at 9:48 PM Edgar E. Iglesias wrote: > On Thu, Jul 04, 2024 at 05:44:52PM +0100, Alex Bennée wrote: > > Anthony PERARD writes: > > > > > On Tue, Jul 02, 2024 at 12:44:21AM +0200, Edgar E. Iglesias wrote: > > >> From: "Edgar E. Iglesias" > > >> > > >> This fixes the clobbering

GNTTABOP_setup_table yields -1 PFNs

2024-07-05 Thread Taylor R Campbell
[I asked on IRC and Andrew Cooper suggested posting the question here. I'm not subscribed to xen-devel@, so please cc me in replies.] On a Xen 4.14 host (with extraversion=.0.88.g1d1d1f53), with version 1 grant tables, where GNTTABOP_query_size initially returns nr_frames=32 max_nr_frames=64, a N

Re: [PATCH v2 1/1] swiotlb: Reduce swiotlb pool lookups

2024-07-05 Thread Christoph Hellwig
Hi Michael, I like the idea behind this, but can you respin it to avoid some of the added code duplication. We have a lot of this pattern: pool = swiotlb_find_pool(dev, paddr); if (pool) swiotlb_foo(dev, ... duplicated in all three swiotlb users. If we rename

[libvirt test] 186684: tolerable all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186684 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/186684/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 186648 test-amd64-amd64-libvirt-xsm 15 migrate-s

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

2024-07-05 Thread osstest service owner
flight 186683 linux-linus real [real] flight 186708 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/186683/ http://logs.test-lab.xenproject.org/osstest/logs/186708/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-

Re: [PATCH] xen: make multicall debug boot time selectable

2024-07-05 Thread boris . ostrovsky
On 7/3/24 7:56 AM, Juergen Gross wrote: #define MC_BATCH 32 -#define MC_DEBUG 0 - #define MC_ARGS (MC_BATCH * 16) struct mc_buffer { unsigned mcidx, argidx, cbidx; struct multicall_entry entries[MC_BATCH]; -#if MC_DEBUG - struct multicall

[ovmf test] 186707: all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186707 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/186707/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 26bc42f1e34cdf43057a75b8edcc0bd86c091214 baseline version: ovmf a3359ffb25ce70ee90822

[ovmf test] 186705: all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186705 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/186705/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf a3359ffb25ce70ee90822f6886136bf0d200406e baseline version: ovmf 22d0babd3315dc2402732

[PATCH 2/2] ppc/shutdown: Implement machine_{halt,restart}()

2024-07-05 Thread Andrew Cooper
OPAL has easy APIs for shutdown/reboot, so wire them up. Then, use machine_halt() rather than an infinite loop at the end of start_xen(). This avoids the Qemu smoke test needing to wait for the full timeout in order to succeed. (XEN) 8e0116c0 is the result of PTE map Enabled radix in

[PATCH 0/2] ppc/shutdown: Implement machine_{halt,restart}()

2024-07-05 Thread Andrew Cooper
I got bored testing fixes to the gitlab containers. Oleksii: There's almost certainly a related change suitable for RISC-V. Andrew Cooper (2): xen/shutdown: Fix build issue with shutdown.h on PPC ppc/shutdown: Implement machine_{halt,restart}() xen/arch/ppc/Makefile | 1 + xen/ar

[PATCH 1/2] xen/shutdown: Fix build issue with shutdown.h on PPC

2024-07-05 Thread Andrew Cooper
The use of bool needs xen/types.h, which shutdown.h picks up by chance in all other architectures. While fixing this, swap u8 for unsigned char in hwdom_shutdown(), and move opt_noreboot into __ro_after_init. Signed-off-by: Andrew Cooper --- CC: Shawn Anastasio CC: Oleksii Kurochko CC: Jan Beu

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

2024-07-05 Thread osstest service owner
flight 186671 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/186671/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stopfail like 186650 test-amd64-amd64-xl-qemuu-ws16-amd64

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

2024-07-05 Thread osstest service owner
flight 186703 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/186703/ 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

[ovmf test] 186704: all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186704 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/186704/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 22d0babd3315dc24027321819cf0efc487dc9d18 baseline version: ovmf 051c7bb434f9f6b908aac

Re: [PATCH] tools/libs/store: add missing USE_PTHREAD to target .o

2024-07-05 Thread Andrei Stan
On Fri, Jul 5, 2024 at 6:22 PM Jürgen Groß wrote: > > On 05.07.24 16:59, Andrei Stan wrote: > > Currently only shared libraries build with USE_PTHREAD enabled. > > > > This patch adds the macro also to xs.o. > > > > Backport: 4.18+ # maybe older > > Signed-off-by: Andrei Stan > > Commit dde3e02b7

Re: [PATCH] tools/libs/store: add missing USE_PTHREAD to target .o

2024-07-05 Thread Jürgen Groß
On 05.07.24 16:59, Andrei Stan wrote: Currently only shared libraries build with USE_PTHREAD enabled. This patch adds the macro also to xs.o. Backport: 4.18+ # maybe older Signed-off-by: Andrei Stan Commit dde3e02b7068 did that explicitly, stating that phtreads are not compatible with static

[PATCH for-4.19 5/6] build: Drop libiconv as a build dependecy

2024-07-05 Thread Andrew Cooper
The final user was blktap2, removed in Xen 4.13. Strip out the ./configure check for it, and stop explicitly installing it in the FreeBSD testing. Fixes: 2a556b63a22d ("Drop blktap2") Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monné CC: Jan Beulich CC

[PATCH for-4.19 2/6] build: Fix the version of python checked for by ./configure

2024-07-05 Thread Andrew Cooper
We previously upped the minimum python version to 2.6, but neglected to reflect this in ./configure Fixes: 2a353c048c68 ("tools: Don't use distutils in configure or Makefile") Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monné CC: Jan Beulich CC: Stefano

[PATCH for-4.19 3/6] CI: Refresh the Coverity Github Action configuration

2024-07-05 Thread Andrew Cooper
Update to Ubuntu 24.04, and checkout@v4 as v2 is deprecated. The build step goes out of it's way to exclude docs and stubdom (but include plain MiniOS), so disable those at the ./configure stage. Refresh the package list. libbz2-dev was in there twice, and e2fslibs-dev is a a transitional packag

[PATCH for-4.19 6/6] build: Drop xorg-x11 as a build dependency

2024-07-05 Thread Andrew Cooper
The history on this one is complicated. The note to README was added in commit 1f95747a4f16 ("Add openssl-dev and xorg-x11-dev to README") in 2007. At the time, there was a vendered version of Qemu in xen.git with a local modification using to access the monitor console over VNC. The final refe

[PATCH for-4.19 4/6] build: Drop openssl as a build dependency

2024-07-05 Thread Andrew Cooper
The final user was blktap1, removed in Xen 4.6. Fixes: f6bcc035084a ("tools: remove blktap1") Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monné CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- README

[PATCH for-4.19 0/6] CI: Fixes, part 2

2024-07-05 Thread Andrew Cooper
Work to fix a few build system checks, and to strip the obsolete contents of the build containers, prior to adding new containers (will be part 3). Andrew Cooper (6): build: Regenerate ./configure with Autoconf 2.71 build: Fix the version of python checked for by ./configure CI: Refresh the

Re: [XEN PATCH v3] tools/misc: xen-hvmcrash: Inject #DF instead of overwriting RIP

2024-07-05 Thread Andrew Cooper
On 05/07/2024 4:05 pm, Matthew Barnes wrote: > xen-hvmcrash would previously save records, overwrite the instruction > pointer with a bogus value, and then restore them to crash a domain > just enough to cause the guest OS to memdump. > > This approach is found to be unreliable when tested on a gue

Re: [PATCH for-4.19?] tools/libs/store: add missing USE_PTHREAD to target .o

2024-07-05 Thread Andrew Cooper
On 05/07/2024 3:59 pm, Andrei Stan wrote: > Currently only shared libraries build with USE_PTHREAD enabled. > > This patch adds the macro also to xs.o. > > Backport: 4.18+ # maybe older > Signed-off-by: Andrei Stan > --- > tools/libs/store/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff

[PATCH] tools/libs/store: add missing USE_PTHREAD to target .o

2024-07-05 Thread Andrei Stan
Currently only shared libraries build with USE_PTHREAD enabled. This patch adds the macro also to xs.o. Backport: 4.18+ # maybe older Signed-off-by: Andrei Stan --- tools/libs/store/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libs/store/Makefile b/tools/libs/store/Makefil

[XEN PATCH v3] tools/misc: xen-hvmcrash: Inject #DF instead of overwriting RIP

2024-07-05 Thread Matthew Barnes
xen-hvmcrash would previously save records, overwrite the instruction pointer with a bogus value, and then restore them to crash a domain just enough to cause the guest OS to memdump. This approach is found to be unreliable when tested on a guest running Windows 10 x64, with some executions doing

[ovmf test] 186701: all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186701 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/186701/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 051c7bb434f9f6b908aac2a0b00368192aa616ec baseline version: ovmf bef0d333dc4fccdfc75e4

[xen-4.17-testing test] 186665: tolerable FAIL - PUSHED

2024-07-05 Thread osstest service owner
flight 186665 xen-4.17-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/186665/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 186515 test-amd64-amd64-xl-qemuu-win7-a

[Job posting] Lead Software Engineer - Hypervisor

2024-07-05 Thread Kelly Choi
Hi Xen Community, Are you looking for a new challenge or know someone who you think will fit? We have a job posting for a Lead Software Engineer - hypervisor Location: Cambridge, UK. More details: https://xenproject.org/about-us/community-jobs/ Many thanks, Kelly Choi Community Manager Xen Pro

Re: [PATCH for-4.20] xen/arm: dom0less: Add #redistributor-regions property to GICv3 node

2024-07-05 Thread Julien Grall
Hi, On 04/07/2024 11:39, Luca Fancellu wrote: On 4 Jul 2024, at 08:54, Michal Orzel wrote: Dom0less domain using host memory layout may use more than one re-distributor region (d->arch.vgic.nr_regions > 1). In that case Xen will add them in a "reg" property of a GICv3 domU node. Guest needs

Xen 4.19 release date shifted to July 29th

2024-07-05 Thread Oleksii
Hello everyone, I would like to announce that the release date has been shifted to July 29th to allow more time for RCs testing and to accommodate XSA-458 (https://xenbits.xen.org/xsa/), which is embargoed until July 16th. Have a good weekend. Best regards, Oleksii

[xen-4.18-testing test] 186666: tolerable FAIL - PUSHED

2024-07-05 Thread osstest service owner
flight 18 xen-4.18-testing real [real] flight 186696 xen-4.18-testing real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/18/ http://logs.test-lab.xenproject.org/osstest/logs/186696/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): t

[ovmf test] 186694: all pass - PUSHED

2024-07-05 Thread osstest service owner
flight 186694 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/186694/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf bef0d333dc4fccdfc75e4be31e067b467a9a4093 baseline version: ovmf 9389b9a208cc5c7d9b055