Re: [Qemu-devel] [PATCH v3 8/9] chardev: fix QemuOpts lifecycle

2012-10-16 Thread Luiz Capitulino
On Mon, 15 Oct 2012 10:06:56 +0200 Gerd Hoffmann wrote: > qemu_chr_new_from_opts handles QemuOpts release now, so callers don't > have to worry. It will either be saved in CharDriverState, then > released in qemu_chr_delete, or in the error case released instantly. > > Signed-off-by: Gerd Hoffm

[Qemu-devel] [PATCH v3 8/9] chardev: fix QemuOpts lifecycle

2012-10-15 Thread Gerd Hoffmann
qemu_chr_new_from_opts handles QemuOpts release now, so callers don't have to worry. It will either be saved in CharDriverState, then released in qemu_chr_delete, or in the error case released instantly. Signed-off-by: Gerd Hoffmann --- qemu-char.c | 15 ++- qemu-char.h |1 +