Re: [PATCH v4 0/8] Implement Firmware Assisted Dump for PSeries

2025-04-20 Thread Aditya Gupta
Hi, Any comments on the series ? Thanks, - Aditya Gupta On 23/03/25 23:09, Aditya Gupta wrote: Overview = Implemented Firmware Assisted Dump (fadump) on PSeries machine in QEMU. Fadump is an alternative dump mechanism to kdump, in which we the firmware does a memory preserving boo

Re: [PATCH 3/6] mirror: Skip writing zeroes when target is already zero

2025-04-20 Thread Vladimir Sementsov-Ogievskiy
On 17.04.25 00:51, Eric Blake wrote: (a write zeroes that fails AND causes the disk to no longer read as zero should not happen) I don't know, is there such a contract? write-zeroes may fallback to write(), which only state that: An error return value while performing write() using dir

Re: [PATCH 15/19] util/mmap-alloc: Add qemu_ram_mmap implementation for emscripten

2025-04-20 Thread Kohei Tokunaga
Hi Philippe, While working on mmap-alloc.c, I found that Emscripten does not support partial unmapping of memory regions [1]. This limitation prevents correct implementation of qemu_ram_mmap and qemu_ram_munmap, which rely on partial unmap behavior. [1] https://github.com/emscripten-core/emscript

Re: [PATCH v7 4/4] virtio_net: Add third acceptable configuration for MAC setup.

2025-04-20 Thread Jason Wang
On Thu, Apr 17, 2025 at 6:26 PM Cindy Lu wrote: > > For VDPA devices, Allow configurations where both the hardware MAC address > and QEMU command line MAC address are zero. > In this case, QEMU will automatically generate a random MAC address and > assign it to the hardware, and the VM will use th

Re: [PATCH v7 3/4] virtio_net: Add second acceptable configuration for MAC setup

2025-04-20 Thread Jason Wang
On Thu, Apr 17, 2025 at 6:25 PM Cindy Lu wrote: > > For VDPA devices, Allow configurations where the hardware MAC address > is non-zero while the MAC address in the QEMU command line is zero. > In this case, QEMU will use the hardware MAC address from the device. > > Signed-off-by: Cindy Lu > ---

Re: [PATCH v7 2/4] virtio_net: Add the check for vdpa's mac address

2025-04-20 Thread Jason Wang
On Thu, Apr 17, 2025 at 6:25 PM Cindy Lu wrote: > > When using a VDPA device, it is important to ensure that the MAC > address is correctly set. The MAC address in the hardware should > match the MAC address from the QEMU command line. This is a recommended > configuration and will allow the syste

Re: [PATCH v7 1/4] vhost_vdpa : Add a new parameter to enable check mac address

2025-04-20 Thread Jason Wang
On Mon, Apr 21, 2025 at 11:14 AM Jason Wang wrote: > > On Thu, Apr 17, 2025 at 6:25 PM Cindy Lu wrote: > > > > When using a VDPA device, it's important to ensure that the MAC > > address is correctly set. > > This patch adds a new QEMU command line parameter to enable MAC > > address verification

Re: [PATCH v7 1/4] vhost_vdpa : Add a new parameter to enable check mac address

2025-04-20 Thread Jason Wang
On Thu, Apr 17, 2025 at 6:25 PM Cindy Lu wrote: > > When using a VDPA device, it's important to ensure that the MAC > address is correctly set. > This patch adds a new QEMU command line parameter to enable MAC > address verification, which is enabled by default. > > Usage example: > > -netde

[PATCH] block: change type of bytes from int to int64_t for *bdrv_aio_pdiscard

2025-04-20 Thread Sunny Zhu
Keep it consistent with *bdrv_co_pdiscard. Currently, there is no BlockDriver implemented the bdrv_aio_pdiscard() function, so we don’t need to make any adaptations either. Signed-off-by: Sunny Zhu --- include/block/block_int-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v6 3/3] hw/ppc/e500: Add Freescale eSDHC to e500plat

2025-04-20 Thread Bernhard Beschow
Am 17. April 2025 21:40:44 UTC schrieb BALATON Zoltan : >On Thu, 17 Apr 2025, Thomas Huth wrote: >> On 01/11/2022 23.29, Philippe Mathieu-Daudé wrote: >>> Adds missing functionality to e500plat machine which increases the >>> chance of given "real" firmware images to access SD cards. >>> >>> Si