Re: [Qemu-devel] [PATCH v3] audio: ac97: add exit function

2016-12-16 Thread Marc-André Lureau
On Thu, Dec 15, 2016 at 5:30 AM Li Qiang wrote: > From: Li Qiang > > Currently the ac97 device emulation doesn't have a exit function, > hot unplug this device will leak some memory. Add a exit function to > avoid this. > > Signed-off-by: Li Qiang > Reviewed-by: Marc-André Lureau > --- >

[Qemu-devel] [PATCH v3] audio: ac97: add exit function

2016-12-14 Thread Li Qiang
From: Li Qiang Currently the ac97 device emulation doesn't have a exit function, hot unplug this device will leak some memory. Add a exit function to avoid this. Signed-off-by: Li Qiang --- Changes since the v2: take out of the null check Changes since the v1: close the streams hw/audio/ac9