commit | 34cf4344b5f7549393930627f4d23d2669e1ff0f | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Mon Jul 03 15:03:15 2023 +0900 |
committer | Jiyong Park <jiyong@google.com> | Mon Jul 03 15:03:15 2023 +0900 |
tree | 9384b5e8ba6244ac5038a7c5ebbcef0021efca83 | |
parent | 46d77fc12904570ecda153843eb38d81545e57d7 [diff] |
Don't forward console_in to both /dev/ttyS0 and /dev/hvc0 Previously, console_in was forwarded to both /dev/ttyS0 and /dev/hvc0. This was wrong because data typed into console_in was sometimes consumed by /dev/ttyS0, and sometimes by /dev/hvc0. This was non-deterministic and also has caused test flakiness. Fixing this by not sending the stream to /dev/ttyS0 which is for early kernel outputs before virtio-console driver is loaded. We don't need the serial device to be bi-directional. Bug: 289732678 Test: run MicrodroidTestApp multiple times Test: run Microdroid, type in something. check /dev/ttyS0 in the Microdroid; it shows nothing. (Previously, it showed some partial characters typed in.) Change-Id: Ia8982fc7fbc917edb53de4e19bd1e81fa68a4fbf
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.