crosvm/common/p9
Changyuan Lyu ef810051cf virtio: vhost-user: Add --cfg to device fs command
Add flag `--cfg` to `crosvm device fs` command to change options
such as posix_acl.

Currently `crosvm device fs` uses hard-coded default config, which
enables posix_acl as default. If a host filesystem without POSIX ACL
support is shared to the guest though virtio-fs, `ls` command in the
guest will fail.

TEST=tools/presubmit
BUG=b:259728763

Change-Id: Ie98c097c74336ce4f756b0ee8541eecbd102d272
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3967441
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Changyuan Lyu <changyuanl@google.com>
2023-03-01 16:33:10 +00:00
..
fuzz
src virtio: vhost-user: Add --cfg to device fs command 2023-03-01 16:33:10 +00:00
wire_format_derive
Cargo.toml
OWNERS
README.md

p9 - Server implementation of the 9p file system protocol

This directory contains the protocol definition and a server implementation of the 9p file system protocol.

  • wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
  • src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization and de-serialization for some base types (integers, strings, vectors) that form the foundation of all 9p messages. Wire format implementations for all other messages are derived using the wire_format_derive macro.
  • src/server.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.