Re: [PATCH v5 03/16] hw/9pfs: Replace the direct call to xxxdir() APIs with a wrapper

2023-03-06 Thread Bin Meng
On Mon, Mar 6, 2023 at 5:32 PM Philippe Mathieu-Daudé wrote: > > On 20/2/23 11:08, Bin Meng wrote: > > From: Guohuai Shi > > > > xxxdir() APIs are not safe on Windows host. For future extension to > > Windows, let's replace the direct call to xxxdir() APIs with a wrapper. > > > > Signed-off-by: G

Re: [PATCH v5 03/16] hw/9pfs: Replace the direct call to xxxdir() APIs with a wrapper

2023-03-06 Thread Philippe Mathieu-Daudé
On 20/2/23 11:08, Bin Meng wrote: From: Guohuai Shi xxxdir() APIs are not safe on Windows host. For future extension to Windows, let's replace the direct call to xxxdir() APIs with a wrapper. Signed-off-by: Guohuai Shi Signed-off-by: Bin Meng --- hw/9pfs/9p-util.h | 14 ++ h

[PATCH v5 03/16] hw/9pfs: Replace the direct call to xxxdir() APIs with a wrapper

2023-02-20 Thread Bin Meng
From: Guohuai Shi xxxdir() APIs are not safe on Windows host. For future extension to Windows, let's replace the direct call to xxxdir() APIs with a wrapper. Signed-off-by: Guohuai Shi Signed-off-by: Bin Meng --- hw/9pfs/9p-util.h | 14 ++ hw/9pfs/9p-local.c | 12 ++-- 2