On Tue, 10 Sept 2024 at 18:27, Michael S. Tsirkin <[email protected]> wrote: > > On Thu, Aug 29, 2024 at 02:46:48PM +0900, Akihiko Odaki wrote: > > Previously it was allowed to call object_unparent() for a memory region > > in instance_finalize() of its parent. However, such a call typically > > has no effect because child objects get unparented before > > instance_finalize(). > > > > Worse, memory regions typically gets finalized when they get unparented > > before instance_finalize(). This means calling object_unparent() for > > them in instance_finalize() is to call the function for an object > > already finalized, which should be avoided. > > > > Signed-off-by: Akihiko Odaki <[email protected]> > > > Acked-by: Michael S. Tsirkin <[email protected]> > > who's applying this? Paolo?
It's a docs change to clarify a complex point that's under active discussion in a different patch thread, so it needs review before anybody applies it... -- PMM
