summary refs log tree commit diff stats
path: root/hw/vfio-user/pci.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.caveayland@nutanix.com>2025-07-15 10:25:53 +0100
committerCédric Le Goater <clg@redhat.com>2025-09-08 16:46:31 +0200
commit5fc421b8cd4813fa8ca9131905f12c4eedf55051 (patch)
tree0cc5fcd749692a6723de9e1ed3db168607010947 /hw/vfio-user/pci.c
parent5d1219e358a559680fdc34b112e2b04806f5ff62 (diff)
downloadfocaccia-qemu-5fc421b8cd4813fa8ca9131905f12c4eedf55051.tar.gz
focaccia-qemu-5fc421b8cd4813fa8ca9131905f12c4eedf55051.zip
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 <mark.caveayland@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20250715093110.107317-14-mark.caveayland@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to '')
-rw-r--r--hw/vfio-user/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c
index 7b6a6514f6..c3947a8f2e 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 */