Re: [PATCH v2 3/3] block/nvme: Use QEMU PCI MMIO API

2025-03-31 Thread Stefan Hajnoczi
On Fri, Mar 28, 2025 at 12:06:27PM -0700, Farhan Ali wrote: > Use the QEMU PCI MMIO functions to read/write > to NVMe registers, rather than directly accessing > them. > > Signed-off-by: Farhan Ali > --- > block/nvme.c | 37 + > 1 file changed, 21 insertions(+

Re: [PATCH v2 3/3] block/nvme: Use QEMU PCI MMIO API

2025-03-28 Thread Farhan Ali
On 3/28/2025 1:41 PM, Philippe Mathieu-Daudé wrote: On 28/3/25 20:06, Farhan Ali wrote: Use the QEMU PCI MMIO functions to read/write to NVMe registers, rather than directly accessing them. Signed-off-by: Farhan Ali ---   block/nvme.c | 37 +   1 file chang

Re: [PATCH v2 3/3] block/nvme: Use QEMU PCI MMIO API

2025-03-28 Thread Philippe Mathieu-Daudé
On 28/3/25 20:06, Farhan Ali wrote: Use the QEMU PCI MMIO functions to read/write to NVMe registers, rather than directly accessing them. Signed-off-by: Farhan Ali --- block/nvme.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) @@ -805,16 +8

[PATCH v2 3/3] block/nvme: Use QEMU PCI MMIO API

2025-03-28 Thread Farhan Ali
Use the QEMU PCI MMIO functions to read/write to NVMe registers, rather than directly accessing them. Signed-off-by: Farhan Ali --- block/nvme.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/block/nvme.c b/block/nvme.c index bbf7c23dc