From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AtyUc-000168-TK for qemu-devel@nongnu.org; Thu, 19 Feb 2004 19:26:10 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AtySR-00089N-Rz for qemu-devel@nongnu.org; Thu, 19 Feb 2004 19:24:28 -0500 Received: from [193.252.22.28] (helo=mwinf0304.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aty9Y-0003DX-7Y for qemu-devel@nongnu.org; Thu, 19 Feb 2004 19:04:24 -0500 Received: from free.fr (ATuileries-112-1-4-144.w81-53.abo.wanadoo.fr [81.53.133.144]) by mwinf0304.wanadoo.fr (SMTP Server) with ESMTP id 05E77A80408D for ; Fri, 20 Feb 2004 01:04:21 +0100 (CET) Message-ID: <40354F5B.3030709@free.fr> Date: Fri, 20 Feb 2004 01:05:47 +0100 From: Fabrice Bellard MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Access to the host filesystem Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.