Re: [RFC v3 04/19] Add device IO ops vector

2021-12-06 Thread John Johnson
> On Nov 19, 2021, at 2:42 PM, Alex Williamson > wrote: > > On Mon, 8 Nov 2021 16:46:32 -0800 > John Johnson wrote: > >> >> +int (*region_write)(VFIODevice *vdev, uint8_t nr, off_t off, uint32_t >> size, >> +void *data, bool post); > > The @post arg is not rea

Re: [RFC v3 04/19] Add device IO ops vector

2021-11-19 Thread Alex Williamson
On Mon, 8 Nov 2021 16:46:32 -0800 John Johnson wrote: > Used for communication with VFIO driver > (prep work for vfio-user, which will communicate over a socket) > > Signed-off-by: John G Johnson > --- > include/hw/vfio/vfio-common.h | 28 > hw/vfio/common.c | 159 > ++

[RFC v3 04/19] Add device IO ops vector

2021-11-08 Thread John Johnson
Used for communication with VFIO driver (prep work for vfio-user, which will communicate over a socket) Signed-off-by: John G Johnson --- include/hw/vfio/vfio-common.h | 28 hw/vfio/common.c | 159 ++ hw/vfio/pci.c |