qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Mohammed Gamal <m.gamal005@gmail.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Cam Macdonell <cam@cs.ualberta.ca>,
	qemu-devel@nongnu.org, kvm-devel <kvm@vger.kernel.org>,
	Javier Guerra Giraldez <javier@guerrag.com>
Subject: Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.
Date: Mon, 12 Apr 2010 12:58:46 +0100	[thread overview]
Message-ID: <20100412115846.GA18075@shareable.org> (raw)
In-Reply-To: <s2z52d4a3891004120115j7c0cf886mfe2e9f0e94417d5@mail.gmail.com>

Mohammed Gamal wrote:
> On Mon, Apr 12, 2010 at 12:29 AM, Jamie Lokier <jamie@shareable.org> wrote:
> > Javier Guerra Giraldez wrote:
> >> On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal <m.gamal005@gmail.com> wrote:
> >> > On Sat, Apr 10, 2010 at 2:12 PM, Jamie Lokier <jamie@shareable.org> wrote:
> >> >> To throw a spanner in, the most widely supported filesystem across
> >> >> operating systems is probably NFS, version 2 :-)
> >> >
> >> > Remember that Windows usage on a VM is not some rare use case, and
> >> > it'd be a little bit of a pain from a user's perspective to have to
> >> > install a third party NFS client for every VM they use. Having
> >> > something supported on the VM out of the box is a better option IMO.
> >>
> >> i don't think virtio-CIFS has any more support out of the box (on any
> >> system) than virtio-9P.
> >
> > It doesn't, but at least network-CIFS tends to work ok and is the
> > method of choice for Windows VMs - when you can setup Samba on the
> > host (which as previously noted you cannot always do non-disruptively
> > with current Sambas).
> >
> > -- Jamie
> >
> 
> I think having support for both 9p and CIFS would be the best option.
> In that case the user will have the option to use either one,
> depending on how their guests support these filesystems. In that case
> I'd prefer to work on CIFS support while the 9p effort can still go
> on. I don't think both efforts are mutually exclusive.
> 
> What do the rest of you guys think?

I only noted NFS because most old OSes do not support CIFS or 9P -
especially all the old unixes.

I don't think old versions of MS-DOS and Windows (95, 98, ME, Nt4?)
even support current CIFS.  They need extra server settings to work
- such as setting passwords on the server to non-encrypted and other quirks.

Meanwhile Windows Vista/2008/7 works better with SMB2, not CIFS, to
properly see symlinks and hard links.

So there is no really nice out of the box file service which works
easily with all guest OSes.

I'm guessing that out of all the filesystems, CIFS is the most widely
supported in recent OSes (released in the last 10 years).  But I'm not
really sure what the state of CIFS is for non-Windows, non-Linux,
non-BSD guests.

I'm not sure why 9P is being pursued.  Does anything much support it,
or do all OSes except quite recent Linux need a custom driver for 9P?
Even Linux only got the first commit in the kernel 5 years ago, so
probably it was only about 3 years ago that it will have begun
appearing in stable distros, if at all.  Filesystem passthrough to
Linux guests installed in the last couple of years is a useful
feature, and I know that for many people that is their only use of
KVM, but compared with CIFS' broad support it seems like quite a
narrow goal.

-- Jamie

  parent reply	other threads:[~2010-04-12 11:59 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 16:01 [Qemu-devel] [GSoC 2010] Pass-through filesystem support Mohammed Gamal
2010-04-08 16:02 ` [Qemu-devel] " Mohammed Gamal
2010-04-08 16:23   ` Stefan Hajnoczi
2010-04-09 13:18 ` [Qemu-devel] " Luiz Capitulino
2010-04-09 17:11   ` jvrao
2010-04-09 17:23     ` Mohammed Gamal
2010-04-09 21:22 ` Jamie Lokier
2010-04-09 22:17   ` Mohammed Gamal
2010-04-09 22:22     ` Javier Guerra Giraldez
2010-04-09 22:34       ` Mohammed Gamal
2010-04-10 12:12         ` Jamie Lokier
2010-04-10 12:42           ` Mohammed Gamal
2010-04-11  0:35             ` Javier Guerra Giraldez
2010-04-11 22:29               ` Jamie Lokier
2010-04-12  8:15                 ` Mohammed Gamal
2010-04-12  8:59                   ` Alexander Graf
2010-04-12 12:04                     ` Jamie Lokier
2010-04-12 12:10                       ` Alexander Graf
2010-04-12 11:58                   ` Jamie Lokier [this message]
2010-04-12 12:14                     ` Alexander Graf
2010-04-12 15:43                       ` jvrao
2010-04-13 19:08                         ` jvrao
2010-04-13 20:17                           ` Mohammed Gamal
2010-04-19 22:54                             ` jvrao
2010-04-20  4:26                               ` Mohammed Gamal
2010-04-20 18:36                                 ` jvrao
2010-04-21  4:20                                   ` Mohammed Gamal
2010-04-21  6:33                                     ` jvrao
2010-04-12 15:16   ` jvrao

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=20100412115846.GA18075@shareable.org \
    --to=jamie@shareable.org \
    --cc=aliguori@us.ibm.com \
    --cc=cam@cs.ualberta.ca \
    --cc=javier@guerrag.com \
    --cc=kvm@vger.kernel.org \
    --cc=m.gamal005@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).