mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
Add optional `uuid` argument to `--vvu-proxy` so a user can specify a UUID that will be stored in virtio_vhost_user_config space so that the guest can read the value by reading /sys/devices/pci*/*/resources. We can use this value to allow the guest to know the socket path that the VVU proxy device uses. BUG=b:215472603 TEST=pcimem /sys/device/pci.../resource0 0x2008 b*16, where 0x2008 == (DEVICE_CONFIG_BAR_OFFSET + offset in vvu config) Change-Id: I99f1d988cb793b44682ddf927837139dabd42cf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3516669 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |