Re: [PATCH v5 2/3] include: Add a header to define host PCI MMIO functions

2025-04-25 Thread Thomas Huth
On 17/04/2025 19.38, Farhan Ali wrote: Add a generic API for host PCI MMIO reads/writes (e.g. Linux VFIO BAR accesses). The functions access little endian memory and returns the result in host cpu endianness. Signed-off-by: Farhan Ali --- include/qemu/host-pci-mmio.h | 141 +++

Re: [PATCH v5 2/3] include: Add a header to define host PCI MMIO functions

2025-04-22 Thread Stefan Hajnoczi
On Thu, Apr 17, 2025 at 10:38:00AM -0700, Farhan Ali wrote: > Add a generic API for host PCI MMIO reads/writes > (e.g. Linux VFIO BAR accesses). The functions access > little endian memory and returns the result in > host cpu endianness. > > Signed-off-by: Farhan Ali > --- > include/qemu/host-pc

[PATCH v5 2/3] include: Add a header to define host PCI MMIO functions

2025-04-17 Thread Farhan Ali
Add a generic API for host PCI MMIO reads/writes (e.g. Linux VFIO BAR accesses). The functions access little endian memory and returns the result in host cpu endianness. Signed-off-by: Farhan Ali --- include/qemu/host-pci-mmio.h | 141 +++ 1 file changed, 141 inse