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

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

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

2025-07-15 Thread Mark Cave-Ayland
Use QOM casts to convert between VFIOPCIDevice and PCIDevice instead of accessing pdev directly. Signed-off-by: Mark Cave-Ayland --- hw/vfio-user/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c index 9380766548..25a1dc0529 1