Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C32kA-0005Ln-Fy for qemu-devel@nongnu.org; Thu, 02 Sep 2004 21:19:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C32k8-0005Lb-Rk for qemu-devel@nongnu.org; Thu, 02 Sep 2004 21:19:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C32k8-0005LY-Ob for qemu-devel@nongnu.org; Thu, 02 Sep 2004 21:19:56 -0400 Received: from [128.232.0.15] (helo=mta1.cl.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C32ef-0006h9-2L for qemu-devel@nongnu.org; Thu, 02 Sep 2004 21:14:17 -0400 Received: from labyrinth.cl.cam.ac.uk ([128.232.32.114] helo=cl.cam.ac.uk ident=[5a/WlFjCqZOdREE4dd4wuvCBAH94/y0Z]) by mta1.cl.cam.ac.uk with esmtp (Exim 3.092 #1) id 1C32ee-0000wG-00 for qemu-devel@nongnu.org; Fri, 03 Sep 2004 02:14:16 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 03 Sep 2004 02:14:15 +0100 From: Mark Williamson Message-Id: Subject: [Qemu-devel] Sharing files between VMs and hosts Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, I can't reply directly to the thread in question because my stupid mailclient lost the relevant e-mails, grrrr. Regarding disk-based file sharing between guest and host, which I saw mentioned briefly (although the focus was on network-based sharing): Some filesystems (e.g. I think Redhat uses one called GFS) which don't make the assumption of a single writer. These would typically be used for multiple machines in a cluster accessing a SAN. It should be possible to use such a filesystem on a disk file and simultaneously write it in the guest and in the host (which could mount it via loopback, if QEmu disks are just raw disk images - are they?). Using a normal filesystem with multiple writers is guaranteed to result in corruption and having a single writer and other readers is likely to confuse the readers (they may think the disk is spontaneously corrupting underneath them!). Of course, using special filesystems doesn't fix the windows compatibility problem. Another alternative would be to use NFS and run some kind of NFS driver in a Windows VM... (does Cygwin have one? Microsoft's UNIX compatibility kit may have one). My $0.02, Cheers, Mark