[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] f8ad4a: hw/9pfs: Use little-endian format for
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] f8ad4a: hw/9pfs: Use little-endian format for xattr values |
Date: |
Thu, 04 Sep 2014 11:30:05 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: f8ad4a89e99848a554b0049d7a612f5a585b7231
https://github.com/qemu/qemu/commit/f8ad4a89e99848a554b0049d7a612f5a585b7231
Author: Aneesh Kumar K.V <address@hidden>
Date: 2014-09-02 (Tue, 02 Sep 2014)
Changed paths:
M hw/9pfs/virtio-9p-local.c
Log Message:
-----------
hw/9pfs: Use little-endian format for xattr values
With security_model=mapped-xattr, we encode the uid,gid and other file
attributes as extended attributes of the file. We save them under
user.virtfs.* namespace.
Use little-endian encoding for on-disk values. This enables us to export
the same directory from both little-endian and big-endian hosts.
NOTE: This will break big-endian host that have virtFS exports
using security model mapped-xattr. They will have to use external tools
to convert the xattr to little-endian format.
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Commit: 840a1bf2832f5783d1070547fcb460216fc219e5
https://github.com/qemu/qemu/commit/840a1bf2832f5783d1070547fcb460216fc219e5
Author: Bastian Blank <address@hidden>
Date: 2014-09-04 (Thu, 04 Sep 2014)
Changed paths:
M hw/9pfs/virtio-9p-local.c
Log Message:
-----------
hw/9pfs: Don't return type from host in readdir on local 9p filesystem
When using mapped mode in 9pfs, readdir implementation
should not return file type in d_type from the host
readdir, instead, it should use the type stored in
the extended attributes. Since d_type is optional
and reading ext attrs for every readdir is expensive,
it should be sufficient to just set d_type to DT_UNKNOWN,
so guest will know to look it up separately.
This is a -stable material.
Signed-off-by: Bastian Blank <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Commit: bbb6a1e872a6f0d6c43913726b2229c0cbdd3220
https://github.com/qemu/qemu/commit/bbb6a1e872a6f0d6c43913726b2229c0cbdd3220
Author: Peter Maydell <address@hidden>
Date: 2014-09-04 (Thu, 04 Sep 2014)
Changed paths:
M hw/9pfs/virtio-9p-local.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/kvaneesh/for-upstream' into staging
* remotes/kvaneesh/for-upstream:
hw/9pfs: Don't return type from host in readdir on local 9p filesystem
hw/9pfs: Use little-endian format for xattr values
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/8cf8c92e7775...bbb6a1e872a6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] f8ad4a: hw/9pfs: Use little-endian format for xattr values,
GitHub <=