Il mar 21 mar 2023, 18:30 Cédric Le Goater <
clg@kaod.org> ha scritto:
I would have thought that user_creatable_cleanup would have taken care
of it. But it's not. This needs some digging.
user_creatable_cleanup is only for -object, not for -device.
Paolo
C.
> By the way, i also debugged other instance_finalize callback functions,
> if my understanding is right, all instance_finalize callback should be
> called from object_unref(object) from qemu_cleanup(void) in
> ./softmmu/runstate.c. But there is no VFIO related object_unref() call in
> this cleanup function, So the instance_finalize callback in vfio pci
> should be useless? thanks!
>
> Regards,
> Yang
>
>