Separate the console shell and the kernel log
BUG: 69274999
Test: Local build and boot
Change-Id: Iafe28921c5fa801930a5bc8f335718632b7af453
diff --git a/host/libs/config/guest_config.cpp b/host/libs/config/guest_config.cpp
index d6eef31..0699d21 100644
--- a/host/libs/config/guest_config.cpp
+++ b/host/libs/config/guest_config.cpp
@@ -282,7 +282,9 @@
auto devices = xmlNewChild(root, nullptr, xc("devices"), nullptr);
- ConfigureSerialPort(devices, 0, DeviceSourceType::kUnixSocketServer,
+ ConfigureSerialPort(devices, 0, DeviceSourceType::kFile,
+ vsoc::GetPerInstancePath("kernel.log"));
+ ConfigureSerialPort(devices, 1, DeviceSourceType::kUnixSocketServer,
vsoc::GetPerInstancePath("console"));
ConfigureVirtioChannel(devices, 1, "cf-logcat", DeviceSourceType::kFile,
vsoc::GetPerInstancePath("logcat"));