qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong


From: Venkateswararao Jujjuri \(JV\)
Subject: [Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong
Date: Mon, 27 Sep 2010 06:38:43 -0000

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 mount 
specify -o version=9p2000.L. 
The default is 9P2000.U which doesn't support gid. 

Ex mount command:

mount -t 9p -o trans=virtio -o version=9p2000.L -o debug=0xFFFF
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 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]