From fbd6122f0b722f40bb14f0c3a26342fa46d5a89d Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 14 Feb 2020 16:46:36 -0800 Subject: arch, devices: move serial creation to arch Split the serial code into two parts: - Configuration and setup: arch/src/serial.rs - Serial device emulation: devices/src/serial.rs No change in functionality - this is just preparation for generalizing the command line parsing/setup code so that it can be used with virtio console devices as well. BUG=chromium:1059924 TEST=emerge-nami crosvm TEST=emerge-kevin crosvm Change-Id: I0aaf9dd6f8096eac4a17077ab5bf569f57d64ff5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2127319 Reviewed-by: Dylan Reid Tested-by: kokoro Commit-Queue: Daniel Verkamp --- tests/boot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/boot.rs b/tests/boot.rs index d5f52dc..c60ba4b 100644 --- a/tests/boot.rs +++ b/tests/boot.rs @@ -13,8 +13,8 @@ use std::sync::Once; use libc::{cpu_set_t, sched_getaffinity}; +use arch::{SerialParameters, SerialType}; use crosvm::{linux, Config, Executable}; -use devices::{SerialParameters, SerialType}; use sys_util::syslog; const CHROOT_KERNEL_PATH: &str = "/mnt/host/source/src/third_party/kernel/v4.19/"; -- cgit 1.4.1