qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host


From: Shi, Guohuai
Subject: RE: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host
Date: Wed, 13 Apr 2022 03:30:57 +0000

> We have 3 fs drivers: local, synth, proxy. I don't mind about proxy, it is in 
> bad shape and we will probably deprecate it in near future anyway. But it 
> would be good to have support for the synth driver, because we are using it 
> for running test cases and fuzzing tests (QA).

synth driver can not be built on Windows platform (or cross build on Linux).
So the test cases can not work on Windows.

> What are the limitations against security_model=mapped on Windows? Keep in 
> mind that with security_model=none you are very limited in what you can do 
> with 9p.

MSYS library does not support extend attribute (e.g. getxattr),
And does not support POSIX permission APIs (e.g. chmod, chown).
Security model is useless on Windows host.

It is possible that to "map" extend attribute to NTFS stream data.
However, if Windows host media is not NTFS (e.g. FAT) which does not support 
stream data,
then the "map" can not work.

Thanks
Guohuai


-----Original Message-----
From: Bin Meng <bmeng.cn@gmail.com> 
Sent: 2022年4月13日 11:19
To: Christian Schoenebeck <qemu_oss@crudebyte.com>; Shi, Guohuai 
<Guohuai.Shi@windriver.com>
Cc: qemu-devel@nongnu.org Developers <qemu-devel@nongnu.org>; Greg Kurz 
<groug@kaod.org>
Subject: Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host

[Please note: This e-mail is from an EXTERNAL e-mail address]

+Guohuai

On Tue, Apr 12, 2022 at 8:27 PM Christian Schoenebeck <qemu_oss@crudebyte.com> 
wrote:
>
> On Freitag, 8. April 2022 19:10:09 CEST Bin Meng wrote:
> > At present there is no Windows support for 9p file system.
> > This series adds initial Windows support for 9p file system.
>
> Nice!
>
> > Only 'local' file system driver backend is supported. security_model 
> > should be 'none' due to limitations on Windows host.
>
> We have 3 fs drivers: local, synth, proxy. I don't mind about proxy, 
> it is in bad shape and we will probably deprecate it in near future 
> anyway. But it would be good to have support for the synth driver, 
> because we are using it for running test cases and fuzzing tests (QA).
>
> What are the limitations against security_model=mapped on Windows? 
> Keep in mind that with security_model=none you are very limited in 
> what you can do with 9p.
>

Regards,
Bin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]