All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shi, Guohuai" <Guohuai.Shi@windriver.com>
To: Bin Meng <bmeng.cn@gmail.com>,
	Christian Schoenebeck <qemu_oss@crudebyte.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
Date: Wed, 13 Apr 2022 03:30:57 +0000	[thread overview]
Message-ID: <CH2PR11MB445450AE2D1666B623ABD1BAEFEC9@CH2PR11MB4454.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAEUhbmVVnz7iFZ6RpW7V45b6xAVv-YxXWv2Esxu4YBZf4yA0LA@mail.gmail.com>

> 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	other threads:[~2022-04-13  7:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08 17:10 [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host Bin Meng
2022-04-08 17:10 ` [RFC PATCH 1/4] fsdev: Add missing definitions for Windows in file-op-9p.h Bin Meng
2022-04-08 17:10 ` [RFC PATCH 2/4] hw/9pfs: Update 'local' file system backend driver to support Windows Bin Meng
2022-04-08 17:10 ` [RFC PATCH 3/4] fsdev: Enable 'local' file system driver backend for Windows Bin Meng
2022-04-08 17:10 ` [RFC PATCH 4/4] meson.build: Turn on virtfs for Windows host Bin Meng
2022-04-12 12:27 ` [RFC PATCH 0/4] 9pfs: Add 9pfs support " Christian Schoenebeck
2022-04-13  3:19   ` Bin Meng
2022-04-13  3:30     ` Shi, Guohuai [this message]
2022-04-14 11:23       ` Christian Schoenebeck
2022-04-14 17:25         ` Shi, Guohuai
2022-04-17 12:55           ` Christian Schoenebeck
2022-04-18  9:07             ` Mark Cave-Ayland
2022-04-18 12:31               ` Christian Schoenebeck
2022-04-19 10:59                 ` Mark Cave-Ayland
2022-04-19 11:10                   ` Shi, Guohuai
2022-04-19 13:50                     ` Christian Schoenebeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CH2PR11MB445450AE2D1666B623ABD1BAEFEC9@CH2PR11MB4454.namprd11.prod.outlook.com \
    --to=guohuai.shi@windriver.com \
    --cc=bmeng.cn@gmail.com \
    --cc=groug@kaod.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu_oss@crudebyte.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.