tremplin: Stubs for attaching USB devices to a specific container

Currently, USB devices passed into the Crostini VM are shared between
all containers. This can lead to confusing behaviour, so we implement a
method of passing a USB device to a specified container.

This CL contains stub methods to attach/detach devices to/from a
container.

BUG=b:229913205
TEST=FEATURES=test emerge-tatl vm_protos tremplin

Cq-Depend: chromium:3716312
Change-Id: I5efe8ed2f23c45cc756cc8b8d3650fd055ad0d18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/3744724
Reviewed-by: David Munro <davidmunro@google.com>
Reviewed-by: Nicholas Verne <nverne@chromium.org>
Commit-Queue: James Ye <jamesye@google.com>
Tested-by: James Ye <jamesye@google.com>
1 file changed
tree: 9bdae8272896bdccd819ae02aed5b074f95ecb47
  1. src/
  2. .gitignore
  3. OWNERS
  4. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.