Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AuJ37-0003Sl-R0 for qemu-devel@nongnu.org; Fri, 20 Feb 2004 17:23:09 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AuJ1x-0001ws-PQ for qemu-devel@nongnu.org; Fri, 20 Feb 2004 17:22:29 -0500 Received: from [80.72.36.106] (helo=alpha.polcom.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuJ1q-0001VW-Mh for qemu-devel@nongnu.org; Fri, 20 Feb 2004 17:21:51 -0500 Date: Fri, 20 Feb 2004 23:21:35 +0100 (CET) From: Grzegorz Kulewski Subject: Re: [Qemu-devel] Re: Access to the host filesystem In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu Devel I vote for option 1. Why: - configuration of Samba or NFS or CIFS is not so complicated, I think - Windows guests will not need any configuration probably - You cannot implement all protocols - implementing that will be time consuming and will not allow developers focus on more important things - this is code duplication with kernel/samba/NFS - security problems and need for updates and maintaining the code I know that in VMWare there is such utility and is not working for me correctly (it hangs/hangs the windows/stops responding/etc.). So I have bad experiencess... I you configure the host in standard way, you can fully customize your settings and achieve stability, reliability and security of the newest versions of the original implementations. That is what I think... Grzegorz Kulewski On Fri, 20 Feb 2004, John Davidorff Pell wrote: > I vote for option 3, as it is the simplest and would work almost > universally. the M$ OSes would need the add-on, but that's the price > you pay for running windoze. Option 1 will only work if networking is > running properly in the guest *and* in the host, so it is concievable > that it won't work at all at times, and option 3 also has some > guest-networking-related issues. option 2 requires guest os drivers, > which might be hard to get. > > Perhaps a combination of option 2 and 3. A special custom network card > that does only NFS (i'm thinking not even TCP/IP, but that might be > more work than its worth, and require drivers again...). Maybe just an > extra IDE controler (no extra drivers) and the host drives (or > host-based "shares") show up as drives/partitions? > > JP > > Fabrice Wrote: > > Hi, > > > > I wonder what would be the best way to access to the host filesystem, > > especially with the Linux, MSDOS/FreeDos and Windows guest OSes. > > > > Here are my thoughts: > > > > 1) Do nothing and just use the network with NFS or Samba host servers. > > It is the easiest solution but it requires a complicated host and guest > > configuration. > > > > 2) Add a hardware device in QEMU giving access to the host filesystem > > with specific commands such as "open", "read" and "close" working by > > using DMA in physical guest memory. Then by reusing the user mode Linux > > "hostfs" filesystem, it would be easy to add access to the host > > filesystem. By reusing the dosemu "MFS" driver, it would also be > > possible to do the same as dosemu to access to an host DOS tree. > > > > 3) Add a tiny NFS server in QEMU so that no host configuration is > > needed. Then only NFS drivers are needed in the guest OS. > > > > Any comments ? > > > > Fabrice. > > -- > if (message.signature==FUNNY) steal(message.signature); else > message=message->next;