Re: [PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-24 Thread Cédric Le Goater
On 4/9/25 15:48, John Levon wrote: Add these helpers that access config space and return an -errno style return. Signed-off-by: John Levon --- hw/vfio/pci.c | 134 ++ 1 file changed, 91 insertions(+), 43 deletions(-) diff --git a/hw/vfio/pci.c

Re: [PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-24 Thread Cédric Le Goater
On 4/9/25 18:30, Tomita Moeko wrote: On 4/9/25 23:54, John Levon wrote: On Wed, Apr 09, 2025 at 11:51:09PM +0800, Tomita Moeko wrote: On 4/9/25 21:48, John Levon wrote: Add these helpers that access config space and return an -errno style return. Signed-off-by: John Levon --- hw/vfio/pci.

Re: [PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-09 Thread Tomita Moeko
On 4/9/25 23:54, John Levon wrote: > On Wed, Apr 09, 2025 at 11:51:09PM +0800, Tomita Moeko wrote: > >> On 4/9/25 21:48, John Levon wrote: >>> Add these helpers that access config space and return an -errno style >>> return. >>> >>> Signed-off-by: John Levon >>> --- >>> hw/vfio/pci.c | 134 +

Re: [PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-09 Thread John Levon
On Wed, Apr 09, 2025 at 11:51:09PM +0800, Tomita Moeko wrote: > On 4/9/25 21:48, John Levon wrote: > > Add these helpers that access config space and return an -errno style > > return. > > > > Signed-off-by: John Levon > > --- > > hw/vfio/pci.c | 134 ++--

Re: [PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-09 Thread Tomita Moeko
On 4/9/25 21:48, John Levon wrote: > Add these helpers that access config space and return an -errno style > return. > > Signed-off-by: John Levon > --- > hw/vfio/pci.c | 134 ++ > 1 file changed, 91 insertions(+), 43 deletions(-) > > diff --git a

[PATCH 11/14] vfio: add vfio_pci_config_space_read/write()

2025-04-09 Thread John Levon
Add these helpers that access config space and return an -errno style return. Signed-off-by: John Levon --- hw/vfio/pci.c | 134 ++ 1 file changed, 91 insertions(+), 43 deletions(-) diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index ddeee33aa9..c384