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

2025-04-02 Thread Stefan Hajnoczi
On Tue, Apr 01, 2025 at 10:22:45AM -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. > > Reviewed-by: Philippe Mathieu-Daudé > Signed-off-by: Fa

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

2025-04-01 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. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Farhan Ali --- include/qemu/host-pci-mmio.h | 116