commit | 1afcde90c2c2c4172a91f88918d96ab3b6a24d67 | [log] [tgz] |
---|---|---|
author | Mattias Nissler <mnissler@chromium.org> | Tue Oct 26 10:20:30 2021 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 27 13:06:53 2021 +0000 |
tree | 75f3e8d48261da00e466054da4858eafd15d5371 | |
parent | 5d5a1289439aef7627651444bf952e4666a5c062 [diff] |
Command line key=value option parsing helpers Many command line options take comma-separated key-value pairs. A lot of the parsing boilerplate is duplicated for various options in main.rs. This change introduces generic helpers to make this easier. Subsequent changes will convert the existing option parsing to make use of this infrastructure. BUG=b:167947780 TEST=New unit tests. Change-Id: I5ff1e4a09ac92c10d99b0b81d7d7cd7ce153fadb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3245494 Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Mattias Nissler <mnissler@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devies, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.