commit | 0fc6ce549629f7e934b8363c6fd0077b4968849c | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Aug 02 17:01:48 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Wed Aug 03 15:07:55 2022 +0100 |
tree | 27c9653dcc2166bd7f3047752a4954255c175df5 | |
parent | 93c5033614d15c83221623b05d881be8e963c548 [diff] |
Shut down CompOS VM after compilation completes Add a method to CompOsInstance to consume the instance and shut it down cleanly, allowing logs to be written. Call this when compilation ends, before calling back to our client (since they might then drop their reference to us, which could tear everything down prematurely). I also created a method to combind the calls to quit() and wait_for_shutdown() to reduce duplication. I also increased the shutdown timeout, since my initial value doesn't seem to be enough for CompOS (see b/236588647#comment38). Bug: 236581575 Test: composd_cmd test-compile, observe logs Change-Id: I34a227db0e377cb9aded57461379e17d0574ea0c
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.