mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
31ff290605
The maximum command line length accepted by the guest kernel is a fixed per-architecture constant; it is unrelated to the (host) page size, which was used as the limit on aarch64 and riscv64 before this change. Making crosvm limit the command line to the correct maximum length allows for a more useful error message to be printed if the user tries to use an overly-long command line; without this change, it would not be apparent that the guest kernel was truncating the command line, leading to unexpected behavior at runtime. BUG=b:345478075 TEST=Boot Crostini and ARCVM on arm64 Change-Id: I207bda318b60d207ccb1ef5df1e59f30be238126 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5606562 Reviewed-by: Junichi Uekawa <uekawa@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |