From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Huth Subject: Re: How to share filesystem Date: Tue, 24 Sep 2013 12:24:29 +0200 Message-ID: <20130924122429.7eed47ff@thhw500> References: <1380011919.26394.18.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Ross Boylan Return-path: Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:41949 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757Ab3IXKY2 (ORCPT ); Tue, 24 Sep 2013 06:24:28 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Sep 2013 11:24:26 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7B7F31B08061 for ; Tue, 24 Sep 2013 11:24:25 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r8OAOBFr42336448 for ; Tue, 24 Sep 2013 10:24:11 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r8OAONZN014106 for ; Tue, 24 Sep 2013 04:24:23 -0600 In-Reply-To: <1380011919.26394.18.camel@localhost> Sender: kvm-owner@vger.kernel.org List-ID: Am Tue, 24 Sep 2013 01:38:39 -0700 schrieb Ross Boylan : > I would like to have access to the same file system from the host and > the guest. Can anyone recommend the best way to do this, considering > ease of use, safety (concurrent access from guest and host does not > corrupt) and performance? [...] > Among the alternatives I can think of are using NFS and using NBD. > Maybe there's some kind of loopback device I could use on the disk image > to access it from the host. I've never tried it on my own, but there is also virtio-9p: http://wiki.qemu.org/Documentation/9psetup Maybe that's what you need? Thomas