aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2025-06-11 10:42:28 +0800
committerCédric Le Goater <clg@redhat.com>2025-06-11 14:01:58 +0200
commit6c4f752ea7c57b9782da0669599659a9d63df431 (patch)
tree91ca6bfbaa0888e06ea749ac7cbbc3f4641db3f5 /hw/avr/arduino.c
parent144227dbc46f82d76de065e507a256a4d723b9e4 (diff)
downloadqemu-6c4f752ea7c57b9782da0669599659a9d63df431.zip
qemu-6c4f752ea7c57b9782da0669599659a9d63df431.tar.gz
qemu-6c4f752ea7c57b9782da0669599659a9d63df431.tar.bz2
vfio/pci: Fix instance_size of VFIO_PCI_BASE
Currently the final instance_size of VFIO_PCI_BASE is sizeof(PCIDevice). It should be sizeof(VFIOPCIDevice), VFIO_PCI uses same structure as base class VFIO_PCI_BASE, so no need to set its instance_size explicitly. This isn't catastrophic only because VFIO_PCI_BASE is an abstract class. Fixes: d4e392d0a99b ("vfio: add vfio-pci-base class") Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: John Levon <john.levon@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Link: https://lore.kernel.org/qemu-devel/20250611024228.423666-1-zhenzhong.duan@intel.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions