Re: [PATCH v1 05/24] vfio-user: add device IO ops vector

2022-12-12 Thread Cédric Le Goater
On 11/9/22 00:13, 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 I would keep the short rw handling for a subsequent patch to make sure the changes do not introduce any functional chang

Re: [PATCH v1 05/24] vfio-user: add device IO ops vector

2022-12-09 Thread John Levon
On Tue, Nov 08, 2022 at 03:13:27PM -0800, John Johnson wrote: > Used for communication with VFIO driver > (prep work for vfio-user, which will communicate over a socket) > > @@ -1166,12 +1178,13 @@ uint32_t vfio_pci_read_config(PCIDevice *pdev, > uint32_t addr, int len) > if (~emu_bits & (0

[PATCH v1 05/24] vfio-user: add device IO ops vector

2022-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 --- hw/vfio/ap.c | 1 + hw/vfio/ccw.c | 1 + hw/vfio/common.c | 107 +++- hw/vfio/pc