From: Mark Cave-Ayland Date: Tue, 15 Jul 2025 09:25:53 +0000 (+0100) Subject: vfio-user/pci.c: rename VFIOUserPCIDevice device field to parent_obj X-Git-Tag: v10.2.0-rc1~108^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc421b8cd4813fa8ca9131905f12c4eedf55051;p=thirdparty%2Fqemu.git vfio-user/pci.c: rename VFIOUserPCIDevice device field to parent_obj Now that nothing accesses the device field directly, rename device to parent_obj as per our current coding guidelines. Signed-off-by: Mark Cave-Ayland Reviewed-by: Cédric Le Goater Reviewed-by: John Levon Reviewed-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/qemu-devel/20250715093110.107317-14-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater --- diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c index 7b6a6514f6c..c3947a8f2ec 100644 --- a/hw/vfio-user/pci.c +++ b/hw/vfio-user/pci.c @@ -20,7 +20,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserPCIDevice, VFIO_USER_PCI) struct VFIOUserPCIDevice { - VFIOPCIDevice device; + VFIOPCIDevice parent_obj; SocketAddress *socket; bool send_queued; /* all sends are queued */