crosvm/tests
Daniel Verkamp a7b6a1c897 arch, main: add virtio-console parsing and creation
This allows the creation of virtio-console devices using the new
hardware=virtio-console parameter to the --serial option.

Also add support for the serial earlycon option, which allows using
virtio-console as the main console device with a traditional serial
device as the early console.  This allows logging during early boot
before PCI device discovery (when virtio-console devices are set up).

BUG=chromium:1059924
TEST=crosvm run -r vm_rootfs.img \
        --serial hardware=serial,type=stdout,console=false,earlycon=true \
        --serial hardware=virtio-console,type=stdout,console=true,stdin=true \
        vm_kernel

Change-Id: Iff48800272b154d49b1da00f3914799089268afe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2127322
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2020-04-23 07:17:59 +00:00
..
boot.rs arch, main: add virtio-console parsing and creation 2020-04-23 07:17:59 +00:00
mini_plugin_template.c
plugin.policy
plugin_adder.c
plugin_async_write.c
plugin_dirty_log.c
plugin_enable_cap.c crosvm: add handling for hyperv exits 2020-03-05 19:01:24 +00:00
plugin_extensions.c
plugin_hint.c
plugin_ioevent.c
plugin_irqfd.c
plugin_msr_index_list.c
plugin_net_config.c
plugin_supported_cpuid.c crosvm: support kvm's hyper-v cpuid ioctl 2020-02-20 02:12:01 +00:00
plugin_vcpu_pause.c
plugin_vm_state.c
plugins.rs crosvm: Apply cargo fix for some clippy errors 2020-04-15 18:01:32 +00:00
vfs_crypto.c