Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-24 Thread Christian Schoenebeck
On Mittwoch, 11. Mai 2022 17:57:08 CEST Shi, Guohuai wrote: > > -Original Message- > > From: Greg Kurz > > Sent: 2022年5月11日 20:19 > > To: Shi, Guohuai > > Cc: Christian Schoenebeck ; qemu-devel@nongnu.org; > > Meng, Bin ; Bin Meng > > Subject: R

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-11 Thread Shi, Guohuai
> -Original Message- > From: Greg Kurz > Sent: 2022年5月11日 20:19 > To: Shi, Guohuai > Cc: Christian Schoenebeck ; qemu-devel@nongnu.org; > Meng, > Bin ; Bin Meng > Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for > W

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-11 Thread Greg Kurz
the rightmost path element, paths from the client have to be broken down into a succession of *at() syscalls, one for each element. > Best Regards, > Guohuai > > > -Original Message- > > From: Greg Kurz > > Sent: 2022年5月10日 22:35 > > To: Christian Schoe

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-11 Thread Christian Schoenebeck
On Dienstag, 10. Mai 2022 17:35:10 CEST Shi, Guohuai wrote: > Let's force on the security issue: > > Firstly, this answer ( > https://stackoverflow.com/questions/32138524/is-there-a-windows-equivalent-> > of-openat ) is useless for QEMU. It uses Windows native API NtCreateFile() > and accesses fi

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Shi, Guohuai
> Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for > Windows > > [Please note: This e-mail is from an EXTERNAL e-mail address] > > On Tue, 10 May 2022 16:04:28 +0200 > Christian Schoenebeck wrote: > > > On Dienstag, 10. Mai 2

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Greg Kurz
On Tue, 10 May 2022 16:04:28 +0200 Christian Schoenebeck wrote: > On Dienstag, 10. Mai 2022 15:40:06 CEST Greg Kurz wrote: > > On Tue, 10 May 2022 13:54:46 +0200 > > > > Christian Schoenebeck wrote: > > > On Dienstag, 10. Mai 2022 12:18:33 CEST Christian Schoenebeck wrote: > > > > On Dienstag,

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Christian Schoenebeck
On Dienstag, 10. Mai 2022 15:40:06 CEST Greg Kurz wrote: > On Tue, 10 May 2022 13:54:46 +0200 > > Christian Schoenebeck wrote: > > On Dienstag, 10. Mai 2022 12:18:33 CEST Christian Schoenebeck wrote: > > > On Dienstag, 10. Mai 2022 04:17:44 CEST Shi, Guohuai wrote: > > > [...] > > > > > > > > >

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Greg Kurz
On Tue, 10 May 2022 13:54:46 +0200 Christian Schoenebeck wrote: > On Dienstag, 10. Mai 2022 12:18:33 CEST Christian Schoenebeck wrote: > > On Dienstag, 10. Mai 2022 04:17:44 CEST Shi, Guohuai wrote: > > [...] > > > > > > > > > I tend to agree with Christian's remarks that this patch is too > > >

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Christian Schoenebeck
On Dienstag, 10. Mai 2022 12:18:33 CEST Christian Schoenebeck wrote: > On Dienstag, 10. Mai 2022 04:17:44 CEST Shi, Guohuai wrote: > [...] > > > > > > > I tend to agree with Christian's remarks that this patch is too > > > > > > big > > > > > > and that the choice of introducing right away a new i

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-10 Thread Christian Schoenebeck
On Dienstag, 10. Mai 2022 04:17:44 CEST Shi, Guohuai wrote: [...] > > > > > I tend to agree with Christian's remarks that this patch is too big > > > > > and that the choice of introducing right away a new implementation > > > > > of 9p-local for windows hosts is too bold to start with. We need to

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-09 Thread Shi, Guohuai
> -Original Message- > From: Greg Kurz > Sent: 2022年5月10日 0:20 > To: Shi, Guohuai > Cc: Bin Meng ; Christian Schoenebeck > ; > qemu-devel@nongnu.org; Meng, Bin > Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for > Wind

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-09 Thread Greg Kurz
On Mon, 9 May 2022 15:09:46 + "Shi, Guohuai" wrote: > > > > -Original Message- > > From: Greg Kurz > > Sent: 2022年5月9日 22:29 > > To: Bin Meng > > Cc: Christian Schoenebeck ; qemu-devel@nongnu.org; > > Shi, > > Guohua

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-09 Thread Shi, Guohuai
> -Original Message- > From: Greg Kurz > Sent: 2022年5月9日 22:29 > To: Bin Meng > Cc: Christian Schoenebeck ; qemu-devel@nongnu.org; > Shi, > Guohuai ; Meng, Bin > Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for > Wind

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-09 Thread Greg Kurz
On Mon, 25 Apr 2022 22:27:01 +0800 Bin Meng wrote: > From: Guohuai Shi > > Add a 9p local file system backend driver to support Windows, > including open, read, write, close, rename, remove, etc. > > All security models are supported. The mapped (mapped-xattr) > security model is implemented u

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-05 Thread Shi, Guohuai
> -Original Message- > From: Christian Schoenebeck > Sent: 2022年5月5日 19:44 > To: qemu-devel@nongnu.org; Shi, Guohuai ; Greg Kurz > > Cc: Meng, Bin ; Bin Meng > Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for > Windows

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-05 Thread Christian Schoenebeck
On Mittwoch, 4. Mai 2022 21:34:22 CEST Shi, Guohuai wrote: [...] > > > index 00..aab7c9f7b5 > > > --- /dev/null > > > +++ b/hw/9pfs/9p-local-win32.c > > > @@ -0,0 +1,1242 @@ > > > +/* > > > + * 9p Windows callback > > > + * > > > + * Copyright (c) 2022 Wind River Systems, Inc. > > > + * > >

RE: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-04 Thread Shi, Guohuai
> -Original Message- > From: Christian Schoenebeck > Sent: Thursday, May 5, 2022 02:02 > To: qemu-devel@nongnu.org > Cc: Greg Kurz ; Meng, Bin ; Shi, > Guohuai ; Bin Meng > Subject: Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver > f

Re: [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-05-04 Thread Christian Schoenebeck
On Montag, 25. April 2022 16:27:01 CEST Bin Meng wrote: > From: Guohuai Shi > > Add a 9p local file system backend driver to support Windows, > including open, read, write, close, rename, remove, etc. > > All security models are supported. The mapped (mapped-xattr) > security model is implemente

[PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows

2022-04-25 Thread Bin Meng
From: Guohuai Shi Add a 9p local file system backend driver to support Windows, including open, read, write, close, rename, remove, etc. All security models are supported. The mapped (mapped-xattr) security model is implemented using NTFS Alternate Data Stream (ADS) so the 9p export path shall b