commit | e39c7656521940ec3985571523aaa725d2cdafcf | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Fri Sep 02 16:45:57 2022 +0900 |
committer | Jiyong Park <jiyong@google.com> | Fri Sep 02 16:51:53 2022 +0900 |
tree | cce80f2fd036eb1e5afd9d515a8f41e90642ddea | |
parent | 21c2cfcd356df2486889fe77ec5c411bb5555fbc [diff] |
Don't print output on the binder thread So far, the vm tool has been printing the output from the VM on the binder thread executing the callback. This prevented it from receiving other callback events from the virtualization service before the console output is closed. Fixing this by spawning a new thread and outputting there. Bug: N/A Test: run microdroid using the vm tool, do a force crash using `echo c > /proc/sysrq-trigger`. The `vm` tool exits in a finite amount of time. (previously it kept saying "error reading from virtual machine: Connection reset by peer (os error 104)") Change-Id: I043fd051198f1a923f98b868cd7d3480c21677ee
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.