mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 20:19:07 +00:00
This allows for creating a simple write-only debug connection that uses a single IO port. This method is supported by both bochs and qemu[1]. The main motivation here is to help in improving crosvm's ability to boot OVMF, which makes use of this simple debug device on port 0x402. For that one would use `--serial type=stdout,hardware=debugcon,debugcon_port=1026` or something similar. Note that serde_keyvalue doesn't support parsing hex values, hence the need to use `1026`, but I intend to address that as well to allow the more natural `debugcon_port=0x402` phrasing. [1]: https://github.com/qemu/qemu/blob/master/hw/char/debugcon.c BUG=b:233610263 Change-Id: I73238e5c35925668d133bfaa542fcbcf1e28765f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3661255 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Mike Gerow <gerow@google.com> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |