commit | 9386360d73fdcbea5696f2db63b9d3468be6b779 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Aug 03 17:23:25 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Wed Aug 03 17:32:35 2022 +0100 |
tree | 934baa37fa0fa871459764d3855b9b0a241844c7 | |
parent | 0fc6ce549629f7e934b8363c6fd0077b4968849c [diff] |
Clean up instance tracking We used to hold a Weak<CompOsInstance>, so that we could allow clients to retrieve the current running instance. But we haven't supported that since commit 616f822f8a4186f9d29edc6a75cf9d31350ecc7d, and it confuses the ownership semantics. We still need to track whether an instance is running, but we can do that via a separate Arc<()> that is kept alive by the instance. Bug: 236581575 Test: compos_cmd test-compile Test: Try to start a second instance, observe failure Change-Id: Id02a831b249f6432b22741dbf5a5dc3919c3df03
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.