>-----Original Message-----
>From: Cédric Le Goater <c...@redhat.com>
>Subject: Re: [PATCH] vfio/pci: Fix instance_size of VFIO_PCI_BASE
>
>On 6/11/25 04:42, Zhenzhong Duan wrote:
>> 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.d...@intel.com>
>
>
>Hey, we were discussing this issue on IRC yesterday (#qemu on OFTC)

Ah, What a coincidence!

BRs,
Zhenzhong

Reply via email to