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

2016-12-14 Thread Marc-André Lureau
Hi On Wed, Dec 14, 2016 at 6:03 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 --- Changes since the v1: close the streams hw/audio

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

2016-12-13 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 v1: close the streams hw/audio/ac97.c | 18 ++ 1 file changed, 18 in