Received: from [140.186.70.92] (port=37349 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P07Yg-0004P7-Mj for qemu-devel@nongnu.org; Mon, 27 Sep 2010 02:51:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P07T9-0001gq-71 for qemu-devel@nongnu.org; Mon, 27 Sep 2010 02:45:49 -0400 Received: from adelie.canonical.com ([91.189.90.139]:52189) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P07T8-0001gi-Tr for qemu-devel@nongnu.org; Mon, 27 Sep 2010 02:45:47 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1P07T5-0007Ab-Tk for ; Mon, 27 Sep 2010 07:45:44 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F0D2A2E80EC for ; Mon, 27 Sep 2010 06:45:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Sep 2010 06:38:43 -0000 From: "Venkateswararao Jujjuri \(JV\)" <646427@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100923220616.4275.31794.malonedeb@potassium.ubuntu.com> Message-Id: <20100927063843.724.33479.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong Reply-To: Bug 646427 <646427@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Passthrough model needs to be used if you want the compatibility on/off the= virtfs mount. The mapped model virtfs-izes the filesystem. For mapped model, one need to = start a fresh share and continue to use it only from the guest. Regarding gid is not being correct, please use 9P2000.L protocol, on the mo= unt specify -o version=3D9p2000.L. = The default is 9P2000.U which doesn't support gid. = Ex mount command: mount -t 9p -o trans=3Dvirtio -o version=3D9p2000.L -o debug=3D0xFFFF v_map_virtfs /mmnt We recently added some info the the external wiki. (http://wiki.qemu.org/Documentation/9psetup) - JV -- = VirtFS mapped symlinks resolved wrong https://bugs.launchpad.net/bugs/646427 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: I tried to map a folder with qemu-kvm qemu-kvm-0.13.0-rc1-3-gc9c2179 (this = is v0.13.0-rc1-16667-gc9c2179). I mounted it first in passthrough mode and = saw all symlinks as expected. Then I used mapped and noticed that the targe= t of a symlink changed to the actual data inside the linked folder as targe= t instead of the target filename. So for example if you have a file abc with the content "omg, this is import= ant stuff" and a symlink lnkme -> abc then it wiill look inside the kvm wit= h mounted 9p virtio (mapped) like that: lnkme -> omg, this is important stuff