qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the instance_finalize callback in VFIO PCI


From: Paolo Bonzini
Subject: Re: About the instance_finalize callback in VFIO PCI
Date: Tue, 21 Mar 2023 21:44:18 +0100



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
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]