Skip to contentSkip to conversation

qemu 9p mapped-xattr model does not translate d_type in readdir

Qemu-devel Michael Tokarev 2 participants 2 messages Aug 13, 2014 – Aug 20, 2014

lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · Michael Tokarev

There's another bugreport filed against debian qemu package,
http://bugs.debian.org/755738 . It talks about security_model=mapped-xattr case, where file type is stored elsewhere, and all files are turned into regular files. http://bugs.debian.org/755738#10 is the proposed patch.

Ok the patch looks good, we could also try to get the d_type correct by looking at the xattr mode bits, but i guess that will slow down readdir

Can you send a proper patch with signed-off-by to the list. I will pick it from there.

-aneesh