Re: [RFC v3 02/19] vfio-user: add VFIO base abstract class

2021-12-06 Thread John Johnson
> On Nov 19, 2021, at 2:42 PM, Alex Williamson > wrote: > > On Mon, 8 Nov 2021 16:46:30 -0800 > John Johnson wrote: > >> + >> +static Property vfio_pci_dev_properties[] = { >> +DEFINE_PROP_PCI_HOST_DEVADDR("host", VFIOPCIDevice, host), >> +DEFINE_PROP_STRING("sysfsdev", VFIOPCIDevic

Re: [RFC v3 02/19] vfio-user: add VFIO base abstract class

2021-11-19 Thread Alex Williamson
On Mon, 8 Nov 2021 16:46:30 -0800 John Johnson wrote: > Add an abstract base class both the kernel driver > and user socket implementations can use to share code. > > Signed-off-by: John G Johnson > Signed-off-by: Elena Ufimtseva > Signed-off-by: Jagannathan Raman > --- > hw/vfio/pci.h | 1

[RFC v3 02/19] vfio-user: add VFIO base abstract class

2021-11-08 Thread John Johnson
Add an abstract base class both the kernel driver and user socket implementations can use to share code. Signed-off-by: John G Johnson Signed-off-by: Elena Ufimtseva Signed-off-by: Jagannathan Raman --- hw/vfio/pci.h | 16 +++-- hw/vfio/pci.c | 112 +++-