Re: [PATCH-for-10.0 09/12] hw/nvram/xlnx-efuse: Do not expose as user-creatable

2025-03-26 Thread Thomas Huth
On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote: This device is part of SoC components thus can not be created manually. Signed-off-by: Philippe Mathieu-Daudé --- hw/nvram/xlnx-efuse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/nvram/xlnx-efuse.c b/hw/nvram/xlnx-efuse.c index

Re: [PATCH-for-10.0 11/12] hw/sensor/temp: Categorize and add description

2025-03-26 Thread Thomas Huth
On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote: Signed-off-by: Philippe Mathieu-Daudé --- hw/sensor/dps310.c | 2 ++ hw/sensor/emc141x.c | 6 ++ hw/sensor/tmp105.c | 2 ++ hw/sensor/tmp421.c | 4 4 files changed, 14 insertions(+) diff --git a/hw/sensor/dps310.c b/hw/sensor/

[PATCH] python: Drop redundant warn_unused_configs = True

2025-03-26 Thread Markus Armbruster
strict = True implies warn_unused_configs = True. Signed-off-by: Markus Armbruster --- python/setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/python/setup.cfg b/python/setup.cfg index cf5af7e664..990e04ea3b 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -79,7 +79,6 @@ exclu

Re: [PATCH-for-10.0 07/12] hw/misc/axp2xx: Categorize and add description

2025-03-26 Thread Thomas Huth
On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote: Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/axp2xx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/misc/axp2xx.c b/hw/misc/axp2xx.c index af646878cd2..747af430479 100644 --- a/hw/misc/axp2xx.c +++ b/hw/misc/axp2xx.c @@ -23

Re: [PATCH-for-10.0 05/12] hw/gpio/pca9552: Categorize and add description

2025-03-26 Thread Thomas Huth
On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote: Signed-off-by: Philippe Mathieu-Daudé --- hw/gpio/pca9552.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/gpio/pca9552.c b/hw/gpio/pca9552.c index 1ac0cf6c464..b152872f6c6 100644 --- a/hw/gpio/pca9552.c +++ b/hw/gpio/pca9552.c @@ -

Re: [PATCH v3 1/7] cpus: Introduce CPUClass::list_cpus() callback

2025-03-26 Thread Zhao Liu
On Mon, Mar 24, 2025 at 07:58:31PM +0100, Philippe Mathieu-Daudé wrote: > Date: Mon, 24 Mar 2025 19:58:31 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH v3 1/7] cpus: Introduce CPUClass::list_cpus() callback > X-Mailer: git-send-email 2.47.1 > > Some targets define cpu_list to a method li

Re: [PATCH-for-10.1] target/i386/gdbstub: Replace ldtul_p() -> ldq_p()

2025-03-26 Thread Zhao Liu
On Tue, Mar 25, 2025 at 04:45:28PM +0100, Philippe Mathieu-Daudé wrote: > Date: Tue, 25 Mar 2025 16:45:28 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH-for-10.1] target/i386/gdbstub: Replace ldtul_p() -> ldq_p() > X-Mailer: git-send-email 2.47.1 > > When TARGET_LONG_BITS == 64, ldtul_p()

Re: [PATCH v3 2/7] target/i386: Register CPUClass:list_cpus

2025-03-26 Thread Zhao Liu
On Mon, Mar 24, 2025 at 07:58:32PM +0100, Philippe Mathieu-Daudé wrote: > Date: Mon, 24 Mar 2025 19:58:32 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH v3 2/7] target/i386: Register CPUClass:list_cpus > X-Mailer: git-send-email 2.47.1 > > Register x86_cpu_list() as CPUClass:list_cpus cal

Re: [PATCH-for-10.0 08/12] hw/misc/pll: Do not expose as user-creatable

2025-03-26 Thread Thomas Huth
On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote: All these devices are part of SoC components and can not be created manually. Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/bcm2835_cprman.c | 8 hw/misc/npcm_clk.c | 6 ++ hw/misc/stm32l4x5_rcc.c | 4 3 files

Re: [PATCH 5/5] qapi: delete un-needed python static analysis configs

2025-03-26 Thread Markus Armbruster
John Snow writes: > On Tue, Mar 25, 2025 at 4:05 AM Markus Armbruster wrote: > >> John Snow writes: >> >> > The pylint config is being left in place because the settings differ >> > enough from the python/ directory settings that we need a chit-chat on >> > how to merge them O:-) >> > >> > Ever

Re: [PATCH 2/3] target/i386: Call KVM_CAP_PMU_CAPABILITY iotcl to enable/disable PMU

2025-03-26 Thread Dongli Zhang
Hi Dapeng, PATCH 1-4 from the below patchset are already reviewed. (PATCH 5-10 are for PMU registers reset). https://lore.kernel.org/all/20250302220112.17653-1-dongli.zh...@oracle.com/ They require only trivial modification. i.e.: https://github.com/finallyjustice/patchset/tree/master/qemu-amd-

Re: [PATCH v2 1/2] io/block: Refactoring the bdrv_drained_begin() function and implement a timeout mechanism.

2025-03-26 Thread zoudongjie via
From: Zhu Yangyang On Mon, 24 Mar 2025 14:09:13 -0400, Stefan Hajnoczi wrote: > On Fri, Mar 21, 2025 at 03:09:16PM +0800, zoudongjie wrote: > > From: Zhu Yangyang > > > > The bdrv_drained_begin() function is a blocking function. In scenarios > > where network storage > > is used and network lin

Re: [RFC v5 0/7] Add packed format to shadow virtqueue

2025-03-26 Thread Eugenio Perez Martin
On Mon, Mar 24, 2025 at 2:59 PM Sahil Siddiq wrote: > > Hi, > > I managed to fix a few issues while testing this patch series. > There is still one issue that I am unable to resolve. I thought > I would send this patch series for review in case I have missed > something. > > The issue is that this

Re: [PATCH 07/15] tests/functional: Convert the 32-bit little endian Wheezy mips test

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:15PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Reuse the test function from the big endian test to easily > convert the 32-bit little endian Wheezy mips test. > > Signed-off-by: Thomas Huth > --- > tests/avocado/linux_ssh_mips_malta.py | 8 > tes

Re: [PATCH 06/15] tests/functional: Convert the 32-bit big endian Wheezy mips test

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:14PM +0100, Thomas Huth wrote: > From: Thomas Huth > > The test checks some entries in /proc and the output of some commands ... > we put these checks into exportable functions now so that they can > be reused more easily. > > Additionally the linux_ssh_mips_malta.p

Re: [PATCH 04/15] tests/functional: Convert the i386 replay avocado test

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:12PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Since this was the last test in tests/avocado/replay_kernel.py, > we can remove that Avocado file now. > > Signed-off-by: Thomas Huth --- > MAINTAINERS | 1 - > tests/avocado/replay_

Re: [PATCH 08/15] tests/functional: Convert the 64-bit little endian Wheezy mips test

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:16PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Reuse the test function from the 32-bit big endian test to easily > convert the 64-bit little endian Wheezy mips test. > > Signed-off-by: Thomas Huth > --- > tests/avocado/linux_ssh_mips_malta.py | 8 --

Re: [PATCH 02/15] fuse: Ensure init clean-up even with error_fatal

2025-03-26 Thread Hanna Czenczek
On 26.03.25 06:47, Markus Armbruster wrote: Hanna Czenczek writes: When exports are created on the command line (with the storage daemon), errp is going to point to error_fatal. Without ERRP_GUARD, we would exit immediately when *errp is set, i.e. skip the clean-up code under the `fail` label

Re: [PATCH 01/15] gitlab-ci: Remove the avocado tests from the CI pipelines

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:09PM +0100, Thomas Huth wrote: > From: Thomas Huth > > We are going to move the remaining Avocado tests step by step > into the functional test framework. Unfortunately, Avocado fails > with an error if it cannot determine a test to run, so disable > the tests here n

Re: [PATCH 15/15] Remove the remainders of the Avocado tests

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:23PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Now that all Avocado tests have been converted to or been replaced by > other functional tests, we can delete the remainders of the Avocado > tests from the QEMU source tree. > > Signed-off-by: Thomas Huth > --

Re: [PATCH 14/15] gitlab-ci: Update QEMU_JOB_AVOCADO and QEMU_CI_AVOCADO_TESTING

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:22PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Since we don't run the Avocado jobs in the CI anymore, rename > these variables to QEMU_JOB_FUNCTIONAL and QEMU_CI_FUNCTIONAL_TESTING. > > Also, there was a mismatch between the documentation and the > implement

Re: [PATCH 05/15] tests/avocado: Remove the LinuxKernelTest class

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:13PM +0100, Thomas Huth wrote: > From: Thomas Huth > > All tests that used this class have been converted to the functional > framework, so we can remove the boot_linux_console.py file now. > > Signed-off-by: Thomas Huth > --- > tests/avocado/boot_linux_console.py

[PATCH v2 1/6] ui/dmabuf: extend QemuDmaBuf to support multi-plane

2025-03-26 Thread yuq825
From: Qiang Yu mesa/radeonsi is going to support explicit modifier which may export a multi-plane texture. For example, texture with DCC enabled (a compressed format) has two planes, one with compressed data, the other with meta data for compression. v2: * change API qemu_dmabuf_get_fd/offset/

Re: [PATCH 09/15] tests/functional: Convert the 64-bit big endian Wheezy mips test

2025-03-26 Thread Daniel P . Berrangé
On Tue, Mar 25, 2025 at 09:00:17PM +0100, Thomas Huth wrote: > From: Thomas Huth > > Reuse the test function from the 32-bit big endian test to easily > convert the 64-bit big endian Wheezy mips test. > > Since this was the last test in tests/avocado/linux_ssh_mips_malta.py, > we can remove this

Re: [PATCH 11/15] tests/functional: Use the tuxrun kernel for the x86 replay test

2025-03-26 Thread Daniel P . Berrangé
On Wed, Mar 26, 2025 at 10:54:53AM +0100, Thomas Huth wrote: > On 26/03/2025 10.43, Daniel P. Berrangé wrote: > > On Tue, Mar 25, 2025 at 09:00:19PM +0100, Thomas Huth wrote: > > > From: Thomas Huth > > > > > > This way we can do a full boot in record-replay mode and > > > should get a similar te

[PATCH] migration/rdma: Remove qemu_rdma_broken_ipv6_kernel

2025-03-26 Thread Jack Wang
I hit following error which testing migration in pure RoCE env: "-incoming rdma:[::]:8089: RDMA ERROR: You only have RoCE / iWARP devices in your systems and your management software has specified '[::]', but IPv6 over RoCE / iWARP is not supported in Linux.#012'." In our setup, we use rdma bind

[PATCH v3 0/3] vhost: fix the IO error after live migration

2025-03-26 Thread Haoqian He
At the end of the VM live migration, the vhost device will be stopped. Currently, if the vhost-user backend crashes, vhost device's set_status() would not return failure, live migration won't perceive the disconnection with the backend. After the live migration is successful, the stale inflight IO

[PATCH v3 2/3] vhost: return failure if stop virtqueue failed in vhost_dev_stop

2025-03-26 Thread Haoqian He
This patch captures the error of vhost_virtqueue_stop() in vhost_dev_stop() and returns the error upward. Specifically, if QEMU is disconnected from the vhost backend, some actions in vhost_dev_stop() will fail, such as sending vhost-user messages to the backend (GET_VRING_BASE, SET_VRING_ENABLE)

[PATCH v3 4/6] ui/egl: support multi-plane dmabuf when egl export/import

2025-03-26 Thread yuq825
From: Qiang Yu v2: * use new dmabuf API and check length Reviewed-by: Marc-André Lureau Signed-off-by: Qiang Yu --- include/ui/egl-helpers.h | 5 ++- ui/dbus-listener.c | 19 + ui/egl-helpers.c | 91 ++-- ui/spice-display.c |

[PATCH v3 5/6] ui/dbus: change dbus ScanoutDMABUF interface

2025-03-26 Thread yuq825
From: Qiang Yu To handle multi plane. v3: * rename interface * add x/y/backing_width/backing_height arg v2: * use new dmabuf API and check length Reviewed-by: Marc-André Lureau Signed-off-by: Qiang Yu --- ui/dbus-display1.xml | 45 + ui/dbus-listener.c | 112 +++

Re: [PATCH 2/3] target/i386: Call KVM_CAP_PMU_CAPABILITY iotcl to enable/disable PMU

2025-03-26 Thread Mi, Dapeng
On 3/27/2025 10:15 AM, Mingwei Zhang wrote: > On Wed, Mar 26, 2025 at 5:44 PM Mi, Dapeng wrote: >> >> On 3/26/2025 2:46 PM, Dongli Zhang wrote: >>> Hi Dapeng, >>> >>> PATCH 1-4 from the below patchset are already reviewed. (PATCH 5-10 are for >>> PMU >>> registers reset). >>> >>> https://lore.k

Re: [PATCH 2/3] target/i386: Call KVM_CAP_PMU_CAPABILITY iotcl to enable/disable PMU

2025-03-26 Thread Mingwei Zhang
On Wed, Mar 26, 2025 at 5:44 PM Mi, Dapeng wrote: > > > On 3/26/2025 2:46 PM, Dongli Zhang wrote: > > Hi Dapeng, > > > > PATCH 1-4 from the below patchset are already reviewed. (PATCH 5-10 are for > > PMU > > registers reset). > > > > https://lore.kernel.org/all/20250302220112.17653-1-dongli.zh..

Re: [RFC PATCH v2 18/20] hw/arm/smmu-common: Bypass emulated IOTLB for a accel SMMUv3

2025-03-26 Thread Nicolin Chen
On Wed, Mar 26, 2025 at 06:40:10PM +0100, Eric Auger wrote: > On 3/11/25 3:10 PM, Shameer Kolothum wrote: > > From: Nicolin Chen > > > > If a vSMMU is configured as a accelerated one, HW IOTLB will be used > > and all cache invalidation should be done to the HW IOTLB too, v.s. > > the emulated iot

[PATCH v3 3/6] ui/egl: use DRM_FORMAT_MOD_INVALID as default modifier

2025-03-26 Thread yuq825
From: Qiang Yu 0 is used as DRM_FORMAT_MOD_LINEAR already. Reviewed-by: Marc-André Lureau Signed-off-by: Qiang Yu --- hw/display/vhost-user-gpu.c | 3 ++- hw/display/virtio-gpu-udmabuf.c | 4 +++- ui/egl-helpers.c| 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) d

[PATCH v2 2/3] hw/char/pl011: Pad PL011State struct to same size as Rust impl

2025-03-26 Thread Peter Maydell
We have some users of the PL011 struct which embed it directly into their own state structs. This means that the Rust version of the device must have a state struct that is the same size or smaller than the C struct. In commit 9b642097d6b7 ("rust: pl011: switch to safe chardev operation") the Rust

[ANNOUNCE] QEMU 9.2.3 Stable released

2025-03-26 Thread Michael Tokarev
Hi everyone, The QEMU v9.2.3 stable release is now available. You can grab the tarball from our download page here: https://www.qemu.org/download/#source https://download.qemu.org/qemu-9.2.3.tar.xz https://download.qemu.org/qemu-9.2.3.tar.xz.sig (signature) v9.2.3 is now tagged in the o

[ANNOUNCE] QEMU 8.2.10 Stable released

2025-03-26 Thread Michael Tokarev
Hi everyone, The QEMU v8.2.10 stable release is now available. You can grab the tarball from our download page here: https://www.qemu.org/download/#source https://download.qemu.org/qemu-8.2.10.tar.xz https://download.qemu.org/qemu-8.2.10.tar.xz.sig (signature) v8.2.10 is now tagged in t

[ANNOUNCE] QEMU 7.2.17 Stable released

2025-03-26 Thread Michael Tokarev
Hi everyone, The QEMU v7.2.17 stable release is now available. You can grab the tarball from our download page here: https://www.qemu.org/download/#source https://download.qemu.org/qemu-7.2.17.tar.xz https://download.qemu.org/qemu-7.2.17.tar.xz.sig (signature) v7.2.17 is now tagged in t

[PATCH v3 1/3] system/runstate: add VM state change cb with return value

2025-03-26 Thread Haoqian He
This patch adds the new VM state change cb type `VMChangeStateHandlerWithRet`, which has return value for `VMChangeStateEntry`. Thus, we can register a new VM state change cb with return value for device. Note that `VMChangeStateHandler` and `VMChangeStateHandlerWithRet` are mutually exclusive and

Re: [PATCH v2 3/3] vhost-user: return failure if backend crash when live migration

2025-03-26 Thread Haoqian He
> 2025年3月25日 17:51,Stefano Garzarella 写道: > > On Tue, Mar 25, 2025 at 04:39:46PM +0800, Haoqian He wrote: >>> 2025年3月24日 22:31,Stefano Garzarella 写道: >>> On Thu, Mar 20, 2025 at 08:21:30PM +0800, Haoqian He wrote: > 2025年3月19日 23:20,Stefano Garzarella 写道: > On Fri, Mar 14, 2025 at 06:

[PATCH v3 1/6] ui/dmabuf: extend QemuDmaBuf to support multi-plane

2025-03-26 Thread yuq825
From: Qiang Yu mesa/radeonsi is going to support explicit modifier which may export a multi-plane texture. For example, texture with DCC enabled (a compressed format) has two planes, one with compressed data, the other with meta data for compression. v2: * change API qemu_dmabuf_get_fd/offset/

[PATCH v3 6/6] ui/spice: support multi plane dmabuf scanout

2025-03-26 Thread yuq825
From: Qiang Yu We need spice version >= 0.15.3 which has spice_qxl_gl_scanout2 API for multi plane scanout support. v2: * use new dmabuf API and check length * check spice_qxl_gl_scanout2 present instead of bump spice version dependency Signed-off-by: Qiang Yu --- meson.build|

[PATCH v3 0/6] ui: support multi plane texture

2025-03-26 Thread yuq825
From: Qiang Yu mesa/radeonsi is going to support explicit modifier with this MR: * https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31658 The side effect is some texture will become multi-plane which breaks qemu. Because qemu currently only support single plane texture. For example,

[PATCH v3 2/6] ui/egl: require EGL_EXT_image_dma_buf_import_modifiers

2025-03-26 Thread yuq825
From: Qiang Yu It's used already, just check it explicitly. Reviewed-by: Marc-André Lureau Signed-off-by: Qiang Yu --- ui/egl-helpers.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ui/egl-helpers.c b/ui/egl-helpers.c index d194d004b7..432863d702 100644 --- a/

RE: [PATCH for-10.1 13/32] vfio: Move VFIOAddressSpace helpers into container-base.c

2025-03-26 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Subject: [PATCH for-10.1 13/32] vfio: Move VFIOAddressSpace helpers into >container-base.c > >VFIOAddressSpace is a common object used by VFIOContainerBase which is >declared in "hw/vfio/vfio-container-base.h". Move the VFIOAddressSpace >relat

Re: [PATCH 3/5] python: update missing dependencies from minreqs

2025-03-26 Thread Markus Armbruster
John Snow writes: > On Wed, Mar 26, 2025 at 2:08 AM Markus Armbruster wrote: > >> John Snow writes: >> >> > A few transitive dependencies were left floating; as a result, pip's >> > dependency solver can pull in newer dependencies, which we don't >> > want. Pin them down. >> > >> > Signed-off-b

<    1   2   3