Received: from [140.186.70.92] (port=52672 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyu5A-00012E-4u for qemu-devel@nongnu.org; Thu, 23 Sep 2010 18:16:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oyu58-0001hq-PP for qemu-devel@nongnu.org; Thu, 23 Sep 2010 18:16:00 -0400 Received: from adelie.canonical.com ([91.189.90.139]:45446) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyu58-0001hX-Hq for qemu-devel@nongnu.org; Thu, 23 Sep 2010 18:15:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Oyu54-0007OG-8b for ; Thu, 23 Sep 2010 23:15:54 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C793A2E80CD for ; Thu, 23 Sep 2010 22:15:51 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Sep 2010 22:06:16 -0000 From: Moshroum Sender: bounces@canonical.com References: <20100923220616.4275.31794.malonedeb@potassium.ubuntu.com> Message-Id: <20100923220616.4275.31794.malonedeb@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 646427] [NEW] 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 Public bug reported: 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 target of a symlink changed to the actual data inside the linked folder as target instead of the target filename. So for example if you have a file abc with the content "omg, this is important stuff" and a symlink lnkme -> abc then it wiill look inside the kvm with mounted 9p virtio (mapped) like that: lnkme -> omg, this is important stuff Another problem I noticed was that I cannot mount it (mapped or passthrough) using /etc/rc.local or /etc/fstab, but after login as root using mount /mnt or mount -t 9p -o trans=3Dvirtio host_share /mnt (the same stuff i tried inside /etc/rc.local) The only output on a failed mount in rc.local/fstab I get is [ 15.035920] device: '9p-1': device_add [ 15.038180] 9p: no channels available [ 15.038937] device: '9p-1': device_unregister [ 15.049123] device: '9p-1': device_create_release ** Affects: qemu Importance: Undecided Status: New -- = 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 Another problem I noticed was that I cannot mount it (mapped or passthrough= ) using /etc/rc.local or /etc/fstab, but after login as root using mount /mnt or mount -t 9p -o trans=3Dvirtio host_share /mnt (the same stuff i tried inside /etc/rc.local) The only output on a failed mount in rc.local/fstab I get is = [ 15.035920] device: '9p-1': device_add [ 15.038180] 9p: no channels available [ 15.038937] device: '9p-1': device_unregister [ 15.049123] device: '9p-1': device_create_release