All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Dhananjay Goel <dhananjaygoel123@gmail.com>
Cc: Michal Novotny <minovotn@redhat.com>,
	James Harper <james.harper@bendigoit.com.au>,
	xen-devel@lists.xensource.com
Subject: Re: Virtualization project idea
Date: Fri, 27 Aug 2010 16:46:24 +0300	[thread overview]
Message-ID: <20100827134624.GL2804@reaktio.net> (raw)
In-Reply-To: <AANLkTinVUBL=23t8Fu0E+uB9ub0NA0fcPof-wZygviBD@mail.gmail.com>

On Fri, Aug 27, 2010 at 07:05:11PM +0530, Dhananjay Goel wrote:
>    If you don't want to do it over-the-network, but somehow 'through' the
>    hypervisor,
>    then you'd need to build some kind of special filesystem protocol that is
>    able
>    to do the client-server communication over the hypervisor specific paths
>    (xenbus etc).
>    And have drivers for it in the hypervisor-host, and in the VMs.
>    --So, is it possible to build a filesystem protocol to share USB devices?
>    Is my project feasible?
> 

Yes, you can build some filesystem protocol and share ANY filesystem, 
be it USB, SATA, SAS, RAID, whatnot.

If it's filesystem protocol it doesn't matter at all if it's USB or not.

-- Pasi

>    Thanks,
>    Dhananjay
> 
>    On Fri, Aug 27, 2010 at 7:00 PM, Pasi K*rkk*inen <[1]pasik@iki.fi> wrote:
> 
>      On Fri, Aug 27, 2010 at 03:17:39PM +0200, Michal Novotny wrote:
>      > On 08/27/2010 03:08 PM, Pasi K*rkk*inen wrote:
>      >> On Fri, Aug 27, 2010 at 06:33:35PM +0530, Dhananjay Goel wrote:
>      >>
>      >>> * * Yes, exactly. So, we wanted to know if it is possible to *share
>      USB*
>      >>> * * across VMs.
>      >>>
>      >>>
>      >> I don't think USB protocol has been designed for *sharing*.
>      >> I'm pretty certain only one computer/device/VM can use USB device at
>      a time.
>      >>
>      >> -- Pasi
>      >>
>      >>
>      >
>      > Pasi, I agree. I think the think here is that Dhananjay confused the
>      USB
>      > device sharing with the file system sharing. I guess the USB protocol
>      > was not designed for sharing nevertheless sharing the filesystem on a
>      > USB stick is a completely different think.
>      >
>      > Dhananajay, you need to plug in the USB stick onto one computer (and
>      > it's impossible to plug it into multiple computer at one time, of
>      > course) and then setup the sharing. Everybody here is talking about
>      the
>      > hardware abstraction and virtualization and what you wrote is a
>      > completely different thing - it's software-related and this has
>      nothing
>      > to do with the hardware emulation/abstraction what-so-ever.
>      >
>      > Considering the NFS and all the sharing protocols there was something
>      > why it doesn't corrupt the data. I'm no expert on this subject but I
>      > think this is because they run in the server-client mode. All the
>      > clients are talking to the server and the server itself is one
>      computer
>      > that's having the just one operating system working with this
>      particular
>      > device - no matter what the underlaying device is - it may be
>      everything
>      > - USB stick, IDE/SCSI/SAS drive or just a relay workstation to save
>      all
>      > the data into one remote media (e.g. for replication). What I mean is
>      > that the basic thing is that it's running on only one operating system
>      > (because of it's connected to this one machine *only*) so it takes
>      care
>      > of everything and it's aware of the write-cache and data operations
>      > being done to this media.
>      >
> 
>      Yep.
> 
>      If you want to share files from the hypervisor-host (from USB stick or
>      from actual disk)
>      to the VMs you *can* do it today over-the-network (nfs,cifs,webdav,ftp)
>      using the standard
>      client-server tools that have been used for over 20 years.
> 
>      If you don't want to do it over-the-network, but somehow 'through' the
>      hypervisor,
>      then you'd need to build some kind of special filesystem protocol that
>      is able
>      to do the client-server communication over the hypervisor specific paths
>      (xenbus etc).
>      And have drivers for it in the hypervisor-host, and in the VMs.
>      -- Pasi
> 
> References
> 
>    Visible links
>    1. mailto:pasik@iki.fi

  reply	other threads:[~2010-08-27 13:46 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTi=+Oa6dOcc0A9X37Bse0znrjT7AQ7Er7OQ5VVzq@mail.gmail.com>
2010-08-26 18:40 ` [Qemu-devel] Virtualization project idea Dhananjay Goel
2010-08-26 18:44   ` Dhananjay Goel
2010-08-26 19:56     ` Pasi Kärkkäinen
2010-08-26 22:58     ` James Harper
2010-08-27  8:07       ` Dhananjay Goel
2010-08-27  8:46         ` Pasi Kärkkäinen
2010-08-27  9:15           ` Dhananjay Goel
2010-08-27  9:19             ` Pasi Kärkkäinen
2010-08-27  9:20               ` David Markey
2010-08-27  9:23                 ` Pasi Kärkkäinen
2010-08-27  9:25                   ` Dhananjay Goel
2010-08-27  9:44                     ` Keir Fraser
2010-08-27  9:48                       ` Dhananjay Goel
2010-08-27  9:50                         ` David Markey
2010-08-27  9:56                           ` Dhananjay Goel
2010-08-27  9:57                         ` Keir Fraser
2010-08-27 18:26                           ` Gianni Tedesco
2010-08-27  9:23               ` Dhananjay Goel
2010-08-27 10:31                 ` Marc - A. Dahlhaus
2010-08-27 10:57                 ` Pasi Kärkkäinen
2010-08-27 11:26                   ` Dhananjay Goel
2010-08-27 11:54                     ` Pasi Kärkkäinen
2010-08-27 12:46                       ` Dhananjay Goel
2010-08-27 12:53                         ` Pasi Kärkkäinen
2010-08-27 13:03                           ` Dhananjay Goel
2010-08-27 13:08                             ` Pasi Kärkkäinen
2010-08-27 13:17                               ` Michal Novotny
2010-08-27 13:30                                 ` Pasi Kärkkäinen
2010-08-27 13:35                                   ` Dhananjay Goel
2010-08-27 13:46                                     ` Pasi Kärkkäinen [this message]
2010-08-27 13:55                                       ` Dhananjay Goel
2010-08-27 14:09                                         ` Pasi Kärkkäinen
2010-08-27 13:47                                   ` Michal Novotny
2010-08-27 17:05                                   ` Pasi Kärkkäinen
2010-08-27 13:18                               ` Christoph Egger
2010-08-27 13:22                                 ` Pasi Kärkkäinen
2010-08-27 13:26                                   ` Michal Novotny
2010-08-27 13:33                                     ` Pasi Kärkkäinen
2010-08-27 13:48                                       ` Michal Novotny
2010-08-27 13:29                               ` Dhananjay Goel
2010-08-27 13:34                                 ` Pasi Kärkkäinen
2010-08-27 13:50                                   ` Michal Novotny
2010-08-27 14:00                                     ` Dhananjay Goel
2010-08-27 14:20                                       ` Michal Novotny
2010-08-27 16:58       ` Pasi Kärkkäinen
2010-08-27 15:12     ` Gianni Tedesco
2010-08-27 16:21       ` Konrad Rzeszutek Wilk
2010-08-27 16:51         ` [Qemu-devel] Re: [Xen-devel] " Stefano Stabellini
2010-08-27 16:51           ` Stefano Stabellini
2010-08-27 17:01           ` [Qemu-devel] Re: [Xen-devel] " David Markey
2010-08-27 17:01             ` David Markey
2010-08-27 17:06             ` [Qemu-devel] Re: [Xen-devel] " Pasi Kärkkäinen
2010-08-27 17:06               ` Pasi Kärkkäinen

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=20100827134624.GL2804@reaktio.net \
    --to=pasik@iki.fi \
    --cc=dhananjaygoel123@gmail.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=minovotn@redhat.com \
    --cc=xen-devel@lists.xensource.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.