Re: [PATCH for 10.1 11/13] tests/tcg: reduce the number of plugin tests combinations

2025-07-24 Thread Alex Bennée
Manos Pitsidianakis writes: > On Thu, Jul 24, 2025 at 3:00 PM Alex Bennée wrote: >> >> Manos Pitsidianakis writes: >> >> > On Thu, Jul 24, 2025 at 2:00 PM Alex Bennée wrote: >> >> >> >> As our set of multiarch tests has grown the pra

Re: [PATCH 03/14] python: drop 'is_closing' back compat helper

2025-07-24 Thread Alex Bennée
Daniel P. Berrangé writes: > Our minimum python is now 3.9, so back compat with python > 3.6 is no longer required. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH for 10.1 13/13] tests/docker: handle host-arch selection for all-test-cross

2025-07-24 Thread Alex Bennée
Manos Pitsidianakis writes: > On Thu, Jul 24, 2025 at 2:00 PM Alex Bennée wrote: >> >> When building on non-x86 we get a bunch but not all of the compilers. >> Handle this in the Dockerfile by probing the arch and expanding the >> list available. >&

Re: [PATCH for 10.1 11/13] tests/tcg: reduce the number of plugin tests combinations

2025-07-24 Thread Alex Bennée
Manos Pitsidianakis writes: > On Thu, Jul 24, 2025 at 2:00 PM Alex Bennée wrote: >> >> As our set of multiarch tests has grown the practice of running every >> plugin with every test is becoming unsustainable. If we switch to >> ensuring every test gets run with at le

[PATCH for 10.1 05/13] docs/user: expand section on threading

2025-07-24 Thread Alex Bennée
Potentially too many weasel words when describing atomic and memory order issues. Signed-off-by: Alex Bennée --- docs/user/main.rst | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/user/main.rst b/docs/user/main.rst index 05de904225c..449acd4a324 100644 --- a

[PATCH for 10.1 07/13] tests/tcg: skip libsyscall.so on softmmu tests

2025-07-24 Thread Alex Bennée
It isn't testing anything and just expanding the runtime of testing. Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index af68f11664f..3d96182a7b9 100644 --- a/test

[PATCH for 10.1 12/13] tests/docker: add --arch-only to qemu deps for all-test-cross

2025-07-24 Thread Alex Bennée
If we want to build this container on non-x86 systems we might not have all the cross-compilers needed for the ROM blobs we don't actually build. Use --arch-only to avoid stalling on these missing bits. Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-all-test-cross.docke

[PATCH for 10.1 09/13] tests/tcg: don't include multiarch tests if not supported

2025-07-24 Thread Alex Bennée
We are about to change the way the plugin runs are done and having this included by default will complicate things. Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 6 ++ tests/tcg/multiarch/system/Makefile.softmmu-target | 5 + 2 files changed, 11

[PATCH for 10.1 01/13] docs/user: clarify user-mode expects the same OS

2025-07-24 Thread Alex Bennée
While we somewhat cover this later when we talk about supported operating systems make it clear in the front matter. Signed-off-by: Alex Bennée --- docs/user/index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user/index.rst b/docs/user/index.rst index

Re: [PATCH v2] tests/functional: add hypervisor test for aarch64

2025-07-24 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > From: Alex Bennée > > This is a simple test case that runs an image with kvmtool and > kvm-unit-tests which can validate virtualisation works. This is useful > for exercising TCG but can also be applied to any nested virt setup > which is why

[PATCH for 10.1 00/13] documentation updates and test tweaks

2025-07-24 Thread Alex Bennée
ests/functional: add hypervisor test for aarch64 docs/user: expand section on threading docs/user: slightly reword section on system calls docs/user: clean up headings docs/system: reword the TAP notes to remove tarball ref docs/user: clarify user-mode expects the same OS Alex. Alex Benn

[PATCH for 10.1 08/13] tests/tcg: remove ADDITIONAL_PLUGINS_TESTS

2025-07-24 Thread Alex Bennée
We never actually used this is the end. Remove it to enable re-factoring. Fixes: 7cefff22d54 (tests/tcg: add mechanism to run specific tests with plugins) Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tcg

[PATCH for 10.1 13/13] tests/docker: handle host-arch selection for all-test-cross

2025-07-24 Thread Alex Bennée
When building on non-x86 we get a bunch but not all of the compilers. Handle this in the Dockerfile by probing the arch and expanding the list available. Signed-off-by: Alex Bennée --- .../dockerfiles/debian-all-test-cross.docker | 31 ++- 1 file changed, 17 insertions(+), 14

[PATCH for 10.1 11/13] tests/tcg: reduce the number of plugin tests combinations

2025-07-24 Thread Alex Bennée
instrumentation test). We can handle this by manually adding them to EXTRA_RUNS. We also need to wrap rules in a CONFIG_PLUGIN test so we don't enable the runs when plugins are not enabled. Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 23 ++- test

[PATCH for 10.1 10/13] configure: expose PYTHON to test/tcg/config-host.mak

2025-07-24 Thread Alex Bennée
This will be useful for making $shell calls to something more flexible than the shell builtins. Signed-off-by: Alex Bennée --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 95f67c1a827..825057ebf15 100755 --- a/configure +++ b/configure @@ -1800,6

[PATCH for 10.1 03/13] docs/user: clean up headings

2025-07-24 Thread Alex Bennée
This was a slightly duff format for rst, make it use proper headings. Signed-off-by: Alex Bennée --- docs/user/main.rst | 50 ++ 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/docs/user/main.rst b/docs/user/main.rst index 9a1c60448c5

[PATCH for 10.1 02/13] docs/system: reword the TAP notes to remove tarball ref

2025-07-24 Thread Alex Bennée
We don't ship the tarball and users should generally look to the distribution specific packaging. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/560 Signed-off-by: Alex Bennée --- docs/system/devices/net.rst | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[PATCH for 10.1 04/13] docs/user: slightly reword section on system calls

2025-07-24 Thread Alex Bennée
Expand the description slightly and quote ioctl(). I did ponder mentioning something about why DRM ioctls are often missing but I see we have the I915 ones so I guess its just no one has done them. Signed-off-by: Alex Bennée --- docs/user/main.rst | 12 1 file changed, 8 insertions

[PATCH for 10.1 06/13] tests/functional: add hypervisor test for aarch64

2025-07-24 Thread Alex Bennée
This is a simple test case that runs an image with kvmtool and kvm-unit-tests which can validate virtualisation works. This is useful for exercising TCG but can also be applied to any nested virt setup which is why it doesn't specify an accelerator. Signed-off-by: Alex Bennée Cc: Phi

Re: [PATCH] hw/sd: print bad s->arglen in unexpected response

2025-07-23 Thread Alex Bennée
the guest miss-programming the device with invalid data? There could be an argument for using: qemu_log_mask(LOG_GUEST_ERROR, "Unexpected response to cmd %d, arglen=%d\n", s->cmd, s->arglen); instead. Phillipe WDYT? > /* Illegal command is about as near as we can get. */ > s->arglen = 1; > s->response[0] = 4; -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [SPAM] [PATCH v4 4/5] hw/misc/aspeed_otp: Add 'drive' property to support block backend

2025-07-22 Thread Alex Bennée
>> +} else { >> num = s->size / sizeof(uint32_t); >> p = (uint32_t *)s->storage; >> for (i = 0; i < num; i++) { >> p[i] = (i % 2 == 0) ? 0x0000 : 0x; >> } >> - >> +} >> return true; >> } >> @@ -75,6 +88,7 @@ static void aspeed_otp_realize(DeviceState *dev, >> Error **errp) >> static const Property aspeed_otp_properties[] = { >> DEFINE_PROP_UINT64("size", AspeedOTPState, size, 0), >> +DEFINE_PROP_DRIVE("drive", AspeedOTPState, blk), >> }; >> static void aspeed_otp_class_init(ObjectClass *klass, const void >> *data) -- Alex Bennée Virtualisation Tech Lead @ Linaro

[RFC PATCH] tests/functional: add hypervisor test for aarch64

2025-07-21 Thread Alex Bennée
This is a simple test case that runs an image with kvmtool and kvm-unit-tests which can validate virtualisation works. This is useful for exercising TCG but can also be applied to any nested virt setup which is why it doesn't specify an accelerator. Signed-off-by: Alex Bennée Cc: Phi

KVM/QEMU community call for agenda items (22/7/25)

2025-07-21 Thread Alex Bennée
Hi, The KVM/QEMU community call is at: https://meet.jit.si/kvmcallmeeting @ 22/07/2025 13:00 UTC Are there any agenda items for the sync-up? -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [RFC PATCH 0/6] Fix building of sparc/sparc32plus test cases

2025-07-17 Thread Alex Bennée
Mark Cave-Ayland writes: > On 16/07/2025 11:54, Alex Bennée wrote: > >> We didn't have any reliable way to build sparc test cases. I have >> found someone who ships a compiler but the binaries still don't run >> due to the need for CASA. >> I'm p

[PATCH] docs/devel: fix over-quoting of QEMU_TEST_KEEP_SCRATCH

2025-07-17 Thread Alex Bennée
Signed-off-by: Alex Bennée --- docs/devel/testing/functional.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst index 9d08abe284..2725633e09 100644 --- a/docs/devel/testing/functional.rst +++ b/docs/devel

Re: [PATCH] tests/functional: add --debug CLI arg

2025-07-17 Thread Alex Bennée
Thomas Huth writes: > On 17/07/2025 10.42, Alex Bennée wrote: >> Manos Pitsidianakis writes: >> >>> Add argument parsing to functional tests to improve developer experience >>> when running individual tests. All logs are printed to stdout >>> intersp

Re: [PATCH] tests/functional: add --debug CLI arg

2025-07-17 Thread Alex Bennée
Manos Pitsidianakis writes: > On Thu, Jul 17, 2025 at 11:42 AM Alex Bennée wrote: >> >> Manos Pitsidianakis writes: >> >> > Add argument parsing to functional tests to improve developer experience >> > when running individual tests. All logs are print

Re: [PATCH] tests/functional: add --debug CLI arg

2025-07-17 Thread Alex Bennée
t; +"%(asctime)s - %(name)s - %(levelname)s - %(message)s" > +) > +handler.setFormatter(formatter) > +console_log.addHandler(handler) > > def set_machine(self, machinename): > # TODO: We should use QMP to get the list

Re: [PATCH-for-10.1 1/3] accel/hvf: Display executable bit as 'X'

2025-07-16 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > Developers are custom to read RWX, not RWE. > Replace E -> X. > > Reported-by: Alex Bennée > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: HVF EL2 support in QEMU (aka FEAT_NV/FEAT_NV2) for MacOS

2025-07-16 Thread Alex Bennée
5 at 4:51 AM Marc Zyngier wrote: >>> >>> On Tue, 15 Jul 2025 12:15:52 +0100, >>> Alex Bennée wrote: >>> >>>> - do we know which Apple silicon supports FEAT_NV2? >>> >>> M2 and latter definitely support FEAT_NV2. That's how KV

[RFC PATCH 5/6] configure: enable the container fallbacks for sparc/sparc32plus

2025-07-16 Thread Alex Bennée
Signed-off-by: Alex Bennée --- configure | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 3651cc3085..f187480d3a 100755 --- a/configure +++ b/configure @@ -1442,6 +1442,8 @@ probe_target_compiler() { riscv64) container_hosts=x86_64 ;; s390x

[RFC PATCH 3/6] configure: update sparc and sparc32plus target compiler detection

2025-07-16 Thread Alex Bennée
The sparc64 compiler can nominally be configured to compile 32 bit and v8plus binaries although in practice no one is now shipping them. Signed-off-by: Alex Bennée --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 2b2b3d6597

[RFC PATCH 6/6] docs/about: deprecate add sparc/sparc32plus-*-user

2025-07-16 Thread Alex Bennée
Even with a toolchain *-user is still broken. Maybe we should just deprecate the target. I haven't deprecated for system as we have functional tests that work and will continue to do so. Signed-off-by: Alex Bennée --- docs/about/deprecated.rst | 8 1 file changed, 8 insertions(+)

[RFC PATCH 1/6] tests/tcg: special case sparc test cases

2025-07-16 Thread Alex Bennée
they also need slightly different LDFLAGS to link to the atomic support library. Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 9 --- tests/tcg/sparc/Makefile.target | 45 + 2 files changed, 50 insertions(+), 4 deletions(-) create mode 10

[RFC PATCH 0/6] Fix building of sparc/sparc32plus test cases

2025-07-16 Thread Alex Bennée
We didn't have any reliable way to build sparc test cases. I have found someone who ships a compiler but the binaries still don't run due to the need for CASA. I'm posting mainly for those who actually care who might want to fix up the remaining cases. Alex. Alex Bennée (

[RFC PATCH 4/6] tests/docker: add sparc-leon-cross container image

2025-07-16 Thread Alex Bennée
The distros no longer ship sparc compilers so we must use some others. The best I could find was Frontgrade Gasiler who ship gcc binaries: https://www.gaisler.com/compilers-operating-systems Add a simple image for building the test cases. Signed-off-by: Alex Bennée --- .../dockerfiles/sparc

[RFC PATCH 2/6] tests/tcg: special case sparc32plus test cases

2025-07-16 Thread Alex Bennée
We can re-use the sparc Makefile to ensure we build but don't run the tests. Signed-off-by: Alex Bennée --- tests/tcg/Makefile.target | 2 +- tests/tcg/sparc32plus | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 12 tests/tcg/sparc32plus diff --git a/test

HVF EL2 support in QEMU (aka FEAT_NV/FEAT_NV2) for MacOS

2025-07-15 Thread Alex Bennée
pple silicon supports FEAT_NV2? - has anyone played with enabling it in QEMU or its forks? - what is missing to get this enabled upstream? And I'd follow that with: - is anyone interested in sponsoring some Mac hardware so we could enable proper HVF testing in our CI? Thanks, -- A

Re: [PATCH v6 03/39] system/runstate: Document qemu_add_vm_change_state_handler()

2025-07-15 Thread Alex Bennée
Xiaoyao Li writes: > On 7/4/2025 1:32 AM, Philippe Mathieu-Daudé wrote: >> Signed-off-by: Philippe Mathieu-Daudé >> Reviewed-by: Richard Henderson >> Reviewed-by: Alex Bennée >> --- >> include/system/runstate.h | 10 ++ >> 1 file changed, 1

[PULL 3/8] contrib/plugins/execlog: Add tab to the separator search of insn_disas

2025-07-14 Thread Alex Bennée
found in the current instruction as a trivial optimization, because searching for the remaining requested registers is unnecessary once one is found. Suggested-by: Alex Bennée Signed-off-by: Yodel Eldar Message-ID: <20250630164124.26315-2-yodel.el...@gmail.com> Reviewed-by: Pierrick Bouvier

[PULL 7/8] docs/system: clean-up formatting of virtio-net-failover

2025-07-14 Thread Alex Bennée
text. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-ID: <20250710104531.3099313-8-alex.ben...@linaro.org> diff --git a/docs/system/virtio-net-failover.rst b/docs/system/virtio-net-failover.rst index 6002dc5d96..0cc465454c 100644 --- a/docs/system/virtio-net-failover.rst

[PULL 0/8] maintainer updates for rc0 (gitlab, gdbstub, plugins, docs)

2025-07-14 Thread Alex Bennée
lover docs ---- Alex Bennée (4): gitlab: use argparse in check-units script gitlab: add -n option to check-units script plugins: fix inclusion of user-mode APIs docs/system: clean-up formatting of virtio-net-failover Manos Pitsidianakis (1): docs: use :kb

[PULL 2/8] gitlab: add -n option to check-units script

2025-07-14 Thread Alex Bennée
Mostly a developer aid for those who want to look at the full backlog of multiple build units. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-ID: <20250710104531.3099313-3-alex.ben...@linaro.org> diff --git a/.gitlab-ci.d/check-units.py b/.gitlab-ci.d/check-units.py

[PULL 5/8] plugins: fix inclusion of user-mode APIs

2025-07-14 Thread Alex Bennée
to be able to extract the relevant data from TaskState. Fixes: 903e870f24 (plugins/api: split out binary path/start/end/entry code) Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3014 Reviewed-by: Pierrick Bouvier Signed-off-by: Alex Bennée Message-ID: <20250710104531.3099313-6-

[PULL 8/8] gdbstub: add the GDB register XML files for sparc64.

2025-07-14 Thread Alex Bennée
From: Rot127 Signed-off-by: Rot127 Message-ID: <20250711155141.62916-2-unis...@quyllur.org> [AJB: clean up commit msg] Signed-off-by: Alex Bennée diff --git a/configs/targets/sparc64-linux-user.mak b/configs/targets/sparc64-linux-user.mak index 64ea04e3e2..7c2ecb7be0 100644 --- a/c

[PULL 4/8] target/alpha: Add GDB XML feature file

2025-07-14 Thread Alex Bennée
gned-off-by: Alex Bennée Message-ID: <20250710104531.3099313-5-alex.ben...@linaro.org> diff --git a/configs/targets/alpha-linux-user.mak b/configs/targets/alpha-linux-user.mak index ef8e365b09..aa25766236 100644 --- a/configs/targets/alpha-linux-user.mak +++ b/configs/targets/alpha-linux-user

[PULL 6/8] docs: use :kbd: role in sphinx docs

2025-07-14 Thread Alex Bennée
the element to the user. Signed-off-by: Manos Pitsidianakis Message-ID: <20250709-docs_rst_improvements-v2-1-cb5096ad0...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <20250710104531.3099313-7-alex.ben...@linaro.org> diff --git a/docs/devel/testing/main.rst b/docs/devel/test

[PULL 1/8] gitlab: use argparse in check-units script

2025-07-14 Thread Alex Bennée
Modernise the argument parsing so we can easily add to the script. Reviewed-by: Manos Pitsidianakis Signed-off-by: Alex Bennée Message-ID: <20250710104531.3099313-2-alex.ben...@linaro.org> diff --git a/.gitlab-ci.d/check-units.py b/.gitlab-ci.d/check-units.py index 268a4118d5..cdc6

Re: [PATCH v2 0/3] Reformatted Sparc GDB XML patches.

2025-07-14 Thread Alex Bennée
gdb-xml/sparc64-core.xml | 99 ++ > target/sparc/cpu.c | 2 + > 8 files changed, 190 insertions(+) > create mode 100644 gdb-xml/sparc32-core.xml > create mode 100644 gdb-xml/sparc64-core.xml -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v2 1/3] Adds the GDB register XML files for Sparc64.

2025-07-14 Thread Alex Bennée
0711155141.62916-2-unis...@quyllur.org> [AJB: clean up commit msg] Signed-off-by: Alex Bennée It's ok to have single line commit messages when the title can encapsulate everything you need to know. Extra stuff like Commit 1/3 is just noise in the commit log. > --- > configs/targets/spa

[PATCH 7/7] docs/system: clean-up formatting of virtio-net-failover

2025-07-10 Thread Alex Bennée
igned-off-by: Alex Bennée --- docs/system/virtio-net-failover.rst | 51 - 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/docs/system/virtio-net-failover.rst b/docs/system/virtio-net-failover.rst index 6002dc5d96..0cc465454c 100644 --- a/docs/system/v

[PATCH 6/7] docs: use :kbd: role in sphinx docs

2025-07-10 Thread Alex Bennée
the element to the user. Signed-off-by: Manos Pitsidianakis Message-ID: <20250709-docs_rst_improvements-v2-1-cb5096ad0...@linaro.org> Signed-off-by: Alex Bennée --- docs/devel/testing/main.rst | 4 +-- docs/system/images.rst | 2 +- docs/system/keys.rst.inc

[PATCH 2/7] gitlab: add -n option to check_units

2025-07-10 Thread Alex Bennée
Mostly a developer aid for those who want to look at the full backlog of multiple build units. Signed-off-by: Alex Bennée --- .gitlab-ci.d/check-units.py | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.d/check-units.py b/.gitlab-ci.d/check-units.py index

[PATCH 4/7] target/alpha: Add GDB XML feature file

2025-07-10 Thread Alex Bennée
gned-off-by: Alex Bennée --- configs/targets/alpha-linux-user.mak | 1 + configs/targets/alpha-softmmu.mak| 1 + target/alpha/cpu.c | 1 + gdb-xml/alpha-core.xml | 136 +++ 4 files changed, 139 insertions(+) create mode 100644 gd

[PATCH 3/7] contrib/plugins/execlog: Add tab to the separator search of insn_disas

2025-07-10 Thread Alex Bennée
found in the current instruction as a trivial optimization, because searching for the remaining requested registers is unnecessary once one is found. Suggested-by: Alex Bennée Signed-off-by: Yodel Eldar Message-ID: <20250630164124.26315-2-yodel.el...@gmail.com> Signed-off-by: Alex Bennée -

[PATCH 5/7] plugins: fix inclusion of user-mode APIs

2025-07-10 Thread Alex Bennée
to be able to extract the relevant data from TaskState. Fixes: 903e870f24 (plugins/api: split out binary path/start/end/entry code) Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3014 Signed-off-by: Alex Bennée --- linux-user/plugin-api.c | 1 + common-user/plugin-api.c.inc | 1 + linux

[PATCH 0/7] maintainer updates for 10.1 softfreeeze (gitlab, plugins, docs) pre-PR

2025-07-10 Thread Alex Bennée
iewed: docs/system: clean-up formatting of virtio-net-failover plugins: fix inclusion of user-mode APIs gitlab: add -n option to check_units gitlab: use argparse in check-units script Alex Alex Bennée (4): gitlab: use argparse in check-units script gitlab: add -n option to check_units pl

[PATCH 1/7] gitlab: use argparse in check-units script

2025-07-10 Thread Alex Bennée
Modernise the argument parsing so we can easily add to the script. Signed-off-by: Alex Bennée --- .gitlab-ci.d/check-units.py | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.d/check-units.py b/.gitlab-ci.d/check-units.py index 268a4118d5

Re: [PATCH v2] docs: use :kbd: role in sphinx docs

2025-07-10 Thread Alex Bennée
s can announce the semantics of the element to the > user. > > Signed-off-by: Manos Pitsidianakis Queued to docs/next, thanks. -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH] Adds the GDB register XML files for Sparc and Sparc64.

2025-07-09 Thread Alex Bennée
t; + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > diff --git a/gdb-xml/sparc64-fpu.xml b/gdb-xml/sparc64-fpu.xml > new file mode 100644 > index 00..cef935ebd6 > --- /dev/null > +++ b/gdb-xml/sparc64-fpu.xml > @@ -0,0 +1,60 @@ > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c > index ed7701b02f..6d52be9263 100644 > --- a/target/sparc/cpu.c > +++ b/target/sparc/cpu.c > @@ -1090,8 +1090,10 @@ static void sparc_cpu_class_init(ObjectClass *oc, > const void *data) > cc->disas_set_info = cpu_sparc_disas_set_info; > > #if defined(TARGET_SPARC64) && !defined(TARGET_ABI32) > +cc->gdb_core_xml_file = "sparc64-core.xml"; > cc->gdb_num_core_regs = 86; > #else > +cc->gdb_core_xml_file = "sparc32-core.xml"; > cc->gdb_num_core_regs = 72; > #endif > cc->tcg_ops = &sparc_tcg_ops; -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH] docs: use :kbd: role in sphinx docs

2025-07-09 Thread Alex Bennée
-a h > +:kbd:`Ctrl+a h` > Print this help > > -Ctrl-a x > +:kbd:`Ctrl+a x` > Exit emulator > > -Ctrl-a s > +:kbd:`Ctrl+a s` > Save disk data back to file (if -snapshot) > > -Ctrl-a t > +:kbd:`Ctrl+a t` > Toggle console timestamps > > -Ctrl-a b > +:kbd:`Ctrl+a b` > Send break (magic sysrq in Linux) > > -Ctrl-a c > +:kbd:`Ctrl+a c` > Rotate between the frontends connected to the multiplexer (usually > this switches between the monitor and the console) > > -Ctrl-a Ctrl-a > +:kbd:`Ctrl+a Ctrl+a` > Send the escape character to the frontend Ditto here. > > --- > base-commit: 7698afc42b5af9e55f12ab2236618e38e5a1c23f > change-id: 20250703-docs_rst_improvements-1f0cb3c578d6 -- Alex Bennée Virtualisation Tech Lead @ Linaro

Synced invitation: QEMU/KVM developers conference call @ Every 2 weeks from 14:00 to 15:00 on Tuesday (BST) (qemu-devel@nongnu.org)

2025-07-09 Thread Alex Bennée
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20250624T13Z DTEND:20250624T14Z RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20250707T235959Z;INTERVAL=2;BYDAY=TU DTSTAMP:20250709T085120Z ORGANIZER;CN=QEMU Project Calend

Synced invitation: QEMU/KVM developers conference call @ Every 2 weeks from 14:00 to 15:00 on Tuesday (BST) (qemu-devel@nongnu.org)

2025-07-09 Thread Alex Bennée
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20250708T13Z DTEND:20250708T14Z RRULE:FREQ=WEEKLY;WKST=MO;INTERVAL=2;BYDAY=TU DTSTAMP:20250709T085121Z ORGANIZER;CN=QEMU Project Calendar:mailto:c_k5p2lpgvbpt

Re: [RFC PATCH-for-10.1 v6 00/14] target-info: Add more API for VirtIO cleanups & introduce ARM macros

2025-07-08 Thread Alex Bennée
all load on the CI systems its required to advance the single-binary QEMU build and get us closer to being able to do proper heterogeneous emulation. I don't think missing 10.1 would be critical for the single binary proof of concept but obviously as with all changes that touch the whole code b

Re: [PATCH v2 0/2] target/alpha: Add TCG plugin register tracking support

2025-07-08 Thread Alex Bennée
Yodel Eldar writes: > This patch adds TCG plugin register tracking support for the Alpha > target and resolves gitlab issue #2569: > > https://gitlab.com/qemu-project/qemu/-/issues/2569 > > As mentioned in the bug report by Alex Bennée, the register list is > bui

KVM/QEMU community call for agenda items (8/7/2025)

2025-07-07 Thread Alex Bennée
Hi, Hopefully I've fixed up the timezone on the calendar entry and fixed my snippet script for this email. The KVM/QEMU community call is at: https://meet.jit.si/kvmcallmeeting @ 08/07/2025 13:00 UTC Are there any agenda items for the sync-up? -- Alex Bennée Virtualisation Tech

Re: [PATCH v6 02/39] system/memory: Restrict eventfd dispatch_write() to emulators

2025-07-04 Thread Alex Bennée
t's better to put the answer as the comment in > the code. Under KVM the eventfd notifications are sent directly from the kernel to the relevant fd. There is no reason why under KVM you couldn't inject the eventfds from QEMU but it would be a weird and sub-optimal setup. KVM is perfectly capable of trapping the MMIO accesses in kernel. I don't think eventfd's can be supported for HVF because I don't think it has such a concept. For vhost-user devices they would then rely on VHOST_USER_VRING_KICK over the socket instead. > >> memory_region_dispatch_write_eventfds(mr, addr, data, size, >> attrs)) { >> return MEMTX_OK; >> } -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v3 95/97] target/arm: Enable FEAT_SME2p1 on -cpu max

2025-07-04 Thread Alex Bennée
Richard Henderson writes: > On 7/3/25 11:17, Alex Bennée wrote: >> Richard Henderson writes: >> >>> Signed-off-by: Richard Henderson >>> --- >>> target/arm/tcg/cpu64.c| 10 -- >>> docs/system/arm/emulation.rst | 6 ++ &

Re: [PATCH v3 95/97] target/arm: Enable FEAT_SME2p1 on -cpu max

2025-07-03 Thread Alex Bennée
D_AA64PFR1, RAS_FRAC, 0); /* FEAT_RASv1p1 + > FEAT_DoubleFault */ > -t = FIELD_DP64(t, ID_AA64PFR1, SME, 1); /* FEAT_SME */ > +t = FIELD_DP64(t, ID_AA64PFR1, SME, 2); /* FEAT_SME2 */ With -cpu max moving to SME2 is there any way to test just plain SME now? -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v3 94/97] target/arm: Implement SME2 BFMOPA (non-widening)

2025-07-03 Thread Alex Bennée
Richard Henderson writes: > From: Peter Maydell > > Signed-off-by: Peter Maydell > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v3 93/97] target/arm: Implement FMOPA (non-widening) for fp16

2025-07-03 Thread Alex Bennée
Richard Henderson writes: > From: Peter Maydell > > Signed-off-by: Peter Maydell > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v4 26/65] accel/tcg: Implement get_[vcpu]_stats()

2025-07-03 Thread Alex Bennée
This is failing in linux-user because we don't have a monitor: /usr/bin/ld: libuser.a.p/accel_tcg_tcg-all.c.o: in function `tcg_get_stats': /home/alex/lsrc/qemu.git/builds/all/../../accel/tcg/tcg-all.c:244:(.text+0x194): undefined reference to `tcg_dump_flush_info' collect2:

Re: [PATCH v4 02/65] system/cpus: Defer memory layout changes until vCPUs are realized

2025-07-03 Thread Alex Bennée
_cond. which is now redundant because of the early exit? > /* > * Defer changes to as->memory_dispatch until the cpu is quiescent. > * Otherwise we race between (1) other cpu threads and (2) ongoing -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v4 01/65] system/runstate: Document qemu_add_vm_change_state_handler()

2025-07-03 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > Signed-off-by: Philippe Mathieu-Daudé > Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v2] tests/functional: test device passthrough on aarch64

2025-07-02 Thread Alex Bennée
in the > L1 guest image but not the current QEMU version, which is the one > running in the L0. > > Anyhow this is a very nice test and an excellent base to build on. > As a next step, I’d suggest including tests with NICs using igb > devices and igb virtual functions (VFs). > > It would also be great to run the L1 environment using the current > version of QEMU. I haven't found a clean way to achieve that yet :/ I sometimes boot up with a virtiofsd mapped to $HOME but it gets a little unstable over time and I haven't had a chance to figure out where things where going wrong. We have the containers to reliably build a cross image of QEMU but we would have to ensure the guest image matches so we don't run into library skew issues. I have had a static build working but thats not a very well supported configuration for qemu-system. -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PATCH v3 10/10] target/arm: Remove CPUARMState.vfp.scratch

2025-07-02 Thread Alex Bennée
Richard Henderson writes: > The last use of this field was removed in b2fc7be972b9. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée Virtualisation Tech Lead @ Linaro

Re: [PULL 00/15] Maintainer updates for June (gitlab, semihosting, plugins, virtio-gpu)

2025-07-02 Thread Alex Bennée
Alex Bennée writes: > The following changes since commit 6138e72b7e33e0240ee955a2754dd038ee99494d: > > Merge tag 'pull-tcg-20250630' of https://gitlab.com/rth7680/qemu into > staging (2025-07-01 04:25:08 -0400) > > are available in the Git repository at: >

[PULL 08/15] plugins: Add memory virtual address write API

2025-07-02 Thread Alex Bennée
x27;t currently in the context of the plugin. Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-5-rowanbh...@gmail.com> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-9-alex.ben...@linaro.org> diff --git a/include/qemu/qemu-plugin

[PULL 04/15] semihosting/uaccess: Compile once

2025-07-02 Thread Alex Bennée
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-ID: <20250526095213.14113-3-phi...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-5-alex.ben...@linaro.org> diff --git a/semihosting/meson.build b

[PULL 02/15] tests/functional: Add PCI hotplug test for aarch64

2025-07-02 Thread Alex Bennée
te for checkpatch, simplified invocations] Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-3-alex.ben...@linaro.org> diff --git a/MAINTAINERS b/MAINTAINERS index d1672fda8d..850588fb64 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2089,6 +2089,12 @@ S: Supported F: in

[PULL 15/15] virtio-gpu: support context init multiple timeline

2025-07-02 Thread Alex Bennée
commit message] Tested-by: Dmitry Osipenko Signed-off-by: Alex Bennée Reviewed-by: Akihiko Odaki Message-ID: <20250627112512.1880708-16-alex.ben...@linaro.org> diff --git a/hw/display/virtio-gpu-virgl.c b/hw/display/virtio-gpu-virgl.c index 145a0b3879..94ddc01f91 100644 --- a/hw/display/vir

[PULL 03/15] semihosting/uaccess: Remove uses of target_ulong type

2025-07-02 Thread Alex Bennée
bool is_write); Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-ID: <20250526095213.14113-2-phi...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-4-alex.ben...@linaro.org> diff --git a/include/

[PULL 07/15] plugins: Add enforcement of QEMU_PLUGIN_CB flags in register R/W callbacks

2025-07-02 Thread Alex Bennée
off-by: Alex Bennée Message-ID: <20250627112512.1880708-8-alex.ben...@linaro.org> diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 33296a1c08..162a56a5da 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -368,6 +368,7 @@ typedef struct CPUNegativeOffsetState {

[PULL 12/15] plugins: Update plugin version and add notes

2025-07-02 Thread Alex Bennée
From: Rowan Hart This patch updates the plugin version to gate new APIs and adds notes describing what has been added. Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-9-rowanbh...@gmail.com> Signed-off-by: Alex Bennée Mess

[PULL 06/15] plugins: Add register write API

2025-07-02 Thread Alex Bennée
Message-ID: <20250624175351.440780-3-rowanbh...@gmail.com> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-7-alex.ben...@linaro.org> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 3a850aa216..cfe1692ecb 100644 --- a/include/qemu/qemu-plugin.h +

[PULL 03/15] semihosting/uaccess: Remove uses of target_ulong type

2025-07-02 Thread Alex Bennée
bool is_write); Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-ID: <20250526095213.14113-2-phi...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-4-alex.ben...@linaro.org> diff --git a/include/

[PULL 14/15] MAINTAINERS: add Akihiko and Dmitry as reviewers

2025-07-02 Thread Alex Bennée
Thanks for volunteering to help. Cc: Akihiko Odaki Cc: Dmitry Osipenko Reviewed-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin Message-ID: <20250603110204.838117-9-alex.ben...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <2025062711251

[PULL 12/15] plugins: Update plugin version and add notes

2025-07-02 Thread Alex Bennée
From: Rowan Hart This patch updates the plugin version to gate new APIs and adds notes describing what has been added. Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-9-rowanbh...@gmail.com> Signed-off-by: Alex Bennée Mess

[PULL 00/15] Maintainer updates for June (gitlab, semihosting, plugins, virtio-gpu)

2025-07-02 Thread Alex Bennée
ERS - fix context init for Venus fences ---- Alex Bennée (3): gitlab: mark s390x-system to allow failures MAINTAINERS: add myself to virtio-gpu for Odd Fixes MAINTAINERS: add Akihiko and Dmitry as reviewers Gustavo

[PULL 04/15] semihosting/uaccess: Compile once

2025-07-02 Thread Alex Bennée
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-ID: <20250526095213.14113-3-phi...@linaro.org> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-5-alex.ben...@linaro.org> diff --git a/semihosting/meson.build b

[PULL 10/15] tests/tcg: Remove copy-pasted notes and from i386 and add x86_64 system tests to tests

2025-07-02 Thread Alex Bennée
Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-11-alex.ben...@linaro.org> diff --git a/tests/tcg/x86_64/Makefile.softmmu-target b/tests/tcg/x86_64/Makefile.softmmu-target index ef6bcb4dc7..d3e09708a5 100644 --- a/tests/tcg/x86_64/Makefile.softmmu-target +++ b/test

[PULL 09/15] plugins: Add memory hardware address read/write API

2025-07-02 Thread Alex Bennée
to permit a specified address space, for example to facilitate architecture-specific plugins that want to operate on them, for example reading ARM secure memory. Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-6-rowanbh...@gmail.com> Signed-off-by

[PULL 08/15] plugins: Add memory virtual address write API

2025-07-02 Thread Alex Bennée
x27;t currently in the context of the plugin. Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-5-rowanbh...@gmail.com> Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-9-alex.ben...@linaro.org> diff --git a/include/qemu/qemu-plugin

[PULL 11/15] plugins: Add patcher plugin and test

2025-07-02 Thread Alex Bennée
: Pierrick Bouvier Signed-off-by: Rowan Hart Message-ID: <20250624175351.440780-8-rowanbh...@gmail.com> [AJB: tweak Makefile, use uintptr_t for pointer stuffing] Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-12-alex.ben...@linaro.org> diff --git a/tests/tcg/plugins/patch.c

[PULL 01/15] gitlab: mark s390x-system to allow failures

2025-07-02 Thread Alex Bennée
: Alex Bennée Message-ID: <20250627112512.1880708-2-alex.ben...@linaro.org> diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml index ca374acb8c..e62ff1763f 100644 --- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml +++ b/.

[PULL 13/15] MAINTAINERS: add myself to virtio-gpu for Odd Fixes

2025-07-02 Thread Alex Bennée
Message-ID: <20250603110204.838117-8-alex.ben...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-14-alex.ben...@linaro.org> diff --git a/MAINTAINERS b/MAINTAINERS index 850588fb64..52f0164edf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @

[PULL 05/15] gdbstub: Expose gdb_write_register function to consumers of gdbstub

2025-07-02 Thread Alex Bennée
From: Rowan Hart This patch exposes the gdb_write_register function from gdbstub/gdbstub.c via the exec/gdbstub.h header file to support use in plugins to write register contents. Reviewed-by: Alex Bennée Reviewed-by: Julian Ganz Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart

[PULL 02/15] tests/functional: Add PCI hotplug test for aarch64

2025-07-02 Thread Alex Bennée
te for checkpatch, simplified invocations] Signed-off-by: Alex Bennée Message-ID: <20250627112512.1880708-3-alex.ben...@linaro.org> diff --git a/MAINTAINERS b/MAINTAINERS index d1672fda8d..850588fb64 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2089,6 +2089,12 @@ S: Supported F: in

[PULL 05/15] gdbstub: Expose gdb_write_register function to consumers of gdbstub

2025-07-02 Thread Alex Bennée
From: Rowan Hart This patch exposes the gdb_write_register function from gdbstub/gdbstub.c via the exec/gdbstub.h header file to support use in plugins to write register contents. Reviewed-by: Alex Bennée Reviewed-by: Julian Ganz Reviewed-by: Pierrick Bouvier Signed-off-by: Rowan Hart

[PULL 15/15] virtio-gpu: support context init multiple timeline

2025-07-02 Thread Alex Bennée
commit message] Tested-by: Dmitry Osipenko Signed-off-by: Alex Bennée Reviewed-by: Akihiko Odaki Message-ID: <20250627112512.1880708-16-alex.ben...@linaro.org> diff --git a/hw/display/virtio-gpu-virgl.c b/hw/display/virtio-gpu-virgl.c index 145a0b3879..94ddc01f91 100644 --- a/hw/display/vir

  1   2   3   4   5   6   7   8   9   10   >