qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] Plug some memory leaks on unrealize
@ 2016-07-22 19:50 minyard
  2016-07-22 19:50 ` [Qemu-devel] [PATCH v3 1/4] ipmi_bmc_sim: Remove an unnecessary mutex minyard
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: minyard @ 2016-07-22 19:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, minyard

Changes from v2:

Set the timers to NULL when unrealizing them, as the data structure
is still intact.

Split out the removal of the mutex from ipmi_bmc_sim to its own patch.


I did figure out a way to test these.  You can set the realize bool
in the qapi for the device to cause it to be realized/unrealized.

This has kind of opened a can of worms for me, though.  Looking 
at a lot of the devices, there is no unrealize function and that
can leave a lot of things hanging.  And for ISA bus devices, there
is no way to unregister ports.

I have a separate patch to make the BMCs not hot-pluggable and
fix up a few other small things I saw as a result of understanding
this better.  But those probably don't belong here.

Thanks,

-corey

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-23 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 19:50 [Qemu-devel] [PATCH v3 0/4] Plug some memory leaks on unrealize minyard
2016-07-22 19:50 ` [Qemu-devel] [PATCH v3 1/4] ipmi_bmc_sim: Remove an unnecessary mutex minyard
2016-07-22 19:50 ` [Qemu-devel] [PATCH v3 2/4] wdt_i6300esb: Free timer minyard
2016-07-22 19:50 ` [Qemu-devel] [PATCH v3 3/4] wdt_ib700: " minyard
2016-07-22 19:50 ` [Qemu-devel] [PATCH v3 4/4] ipmi_bmc_sim: Add a proper unrealize function minyard
2016-07-23  7:46 ` [Qemu-devel] [PATCH v3 0/4] Plug some memory leaks on unrealize Paolo Bonzini
2016-07-23 13:18   ` Corey Minyard
2016-07-23 15:16     ` Paolo Bonzini
2016-07-23 18:04       ` Corey Minyard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).