mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
5172482b39
Deprecate the existing --vhost-user-* device-specific frontend options and replace them with a single --vhost-user option that takes the device type as one of its arguments. This simplifies the device setup code significantly; there is now a single list of vhost_user frontend devices that can be created in one loop instead of scattering device-type-specific creation all over the create_virtio_devices() function. The DeviceType names are normalized for this new --vhost-user option as well - when relevant, they use the full name rather than abbreviating it inconsistently (for example, "blk" is now known as "block", which matches the option used with `crosvm devices`). A few special cases are handled with serde renames (such as "p9" -> "9p"), but all other device types use the default serde kebab-case naming. BUG=b:262291811 TEST=connect to `crosvm devices` and virtiofsd with --vhost-user Change-Id: I75e9442f73af122ccfda9731331cde5c238b88fb Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5030974 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
book.toml | ||
mermaid-init.js | ||
mermaid.min.js |