mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
f934bc0413
Currently crosvm does not allow users to give multiple serial devices with `console=true`. However, actually Linux kernel can have multiple `console=` options at the same time. Each serial hardware type can have one console. Kernel logs will be copied to all consoles, and the inputs will be taken from the last `console=` device. Even if multiple `console=` options for the same device type are given, no error occurs and the last one is effective. Therefore, crosvm doesn't have to restrict console option. Thus, this CL removes the restriction on multiple consoles of crosvm. BUG=b:325362584 TEST=`crosvm run --serial type=file,path=serial,console=true --serial type=stdout,hardware=virtio-console,console=true,stdin=true ...`. Both file and stdout have console outputs Change-Id: I911c9223704eb91f369b74e9cdcd901f115aa7eb Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5306814 Commit-Queue: Takaya Saeki <takayas@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |