Re: [PATCH 12/22] vfio-user/pci.c: use QOM casts where appropriate

2025-07-15 Thread John Levon
On Tue, Jul 15, 2025 at 10:25:52AM +0100, Mark Cave-Ayland wrote: > Use QOM casts to convert between VFIOUserPCIDevice and VFIOPCIDevice instead > of accessing device directly. > > Signed-off-by: Mark Cave-Ayland > --- > hw/vfio-user/pci.c | 7 --- > 1 file changed, 4 insertions(+), 3 delet

[PATCH 12/22] vfio-user/pci.c: use QOM casts where appropriate

2025-07-15 Thread Mark Cave-Ayland
Use QOM casts to convert between VFIOUserPCIDevice and VFIOPCIDevice instead of accessing device directly. Signed-off-by: Mark Cave-Ayland --- hw/vfio-user/pci.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c index da6fe51809..e