crosvm/x86_64/src
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
..
acpi.rs acpi: add S1 capability in DSDT 2020-02-28 12:46:19 +00:00
bootparam.rs x86_64: generate ACPI tables 2020-02-28 00:11:19 +00:00
bzimage.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
cpuid.rs x86_64: use __cpuid intrinsic 2020-02-22 08:41:29 +00:00
fdt.rs x86_64: regenerate bootparam bindings without unions 2019-05-23 07:35:15 -07:00
gdt.rs Fix warnings added in rust 1.42 2020-03-17 00:05:44 +00:00
interrupts.rs Fix warnings added in rust 1.42 2020-03-17 00:05:44 +00:00
lib.rs arch, main: add virtio-console parsing and creation 2020-04-23 07:17:59 +00:00
mpspec.rs ACPI: enable ACPI from command line 2020-03-19 12:11:51 +00:00
mptable.rs ACPI: enable ACPI from command line 2020-03-19 12:11:51 +00:00
msr_index.rs x86_64: Add x86_64 setup code 2017-05-12 20:58:07 -07:00
regs.rs Setup vcpu's MTRR 2019-11-27 09:04:26 +00:00
smbios.rs smbios: fix clippy warnings 2019-05-22 20:57:04 -07:00