RE: [PATCH v2 07/19] hw/9pfs: Implement Windows specific utilities functions for 9pfs

2022-11-17 Thread Shi, Guohuai
> -Original Message- > From: Christian Schoenebeck > Sent: Thursday, November 17, 2022 23:55 > To: qemu-devel@nongnu.org > Cc: Shi, Guohuai ; Greg Kurz ; > Meng, Bin > Subject: Re: [PATCH v2 07/19] hw/9pfs: Implement Windows specific utilities > functions for

Re: [PATCH v2 07/19] hw/9pfs: Implement Windows specific utilities functions for 9pfs

2022-11-17 Thread Christian Schoenebeck
On Friday, November 11, 2022 5:22:13 AM CET Bin Meng wrote: > From: Guohuai Shi > > Windows POSIX API and MinGW library do not provide the NO_FOLLOW > flag, and do not allow opening a directory by POSIX open(). This > causes all xxx_at() functions cannot work directly. However, we > can provide W

[PATCH v2 07/19] hw/9pfs: Implement Windows specific utilities functions for 9pfs

2022-11-10 Thread Bin Meng
From: Guohuai Shi Windows POSIX API and MinGW library do not provide the NO_FOLLOW flag, and do not allow opening a directory by POSIX open(). This causes all xxx_at() functions cannot work directly. However, we can provide Windows handle based functions to emulate xxx_at() functions (e.g.: opena