crosvm/common/p9
Vikram Auradkar 1295a6af47 crosvm: add serde to arg types
Windows serializes/deserializes these types to send over a Tube.

BUG=b:213146388
TEST=built on downstream windows and presubmit

Change-Id: Ib9ca4cbb2758a997788c4bab46d573a532e8e3d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3735635
Commit-Queue: Vikram Auradkar <auradkar@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-06-30 17:47:59 +00:00
..
fuzz crosvm: migrate to Rust 2021 edition 2022-03-09 01:16:03 +00:00
src crosvm: add serde to arg types 2022-06-30 17:47:59 +00:00
wire_format_derive Enable windows tests for a few crates 2022-02-18 03:18:58 +00:00
Cargo.toml crosvm: add serde to arg types 2022-06-30 17:47:59 +00:00
OWNERS p9: re-add OWNERS file for fuzzer ownership 2022-01-10 20:43:27 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

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.