Re: [Qemu-devel] [PATCH v5 09/27] osdep: Introduce qemu_dup

2016-05-24 Thread Max Reitz
On 17.05.2016 09:35, Fam Zheng wrote: > This takes care +of > both the CLOEXEC flag and fd-path mapping for image > locking. > > Signed-off-by: Fam Zheng > --- > include/qemu/osdep.h | 1 + > util/osdep.c | 6 ++ > 2 files changed, 7 insertions(+) > > diff --git a/

[Qemu-devel] [PATCH v5 09/27] osdep: Introduce qemu_dup

2016-05-17 Thread Fam Zheng
This takes care both the CLOEXEC flag and fd-path mapping for image locking. Signed-off-by: Fam Zheng --- include/qemu/osdep.h | 1 + util/osdep.c | 6 ++ 2 files changed, 7 insertions(+) diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 81913a7..0e51279 100644 --- a/in