commit | 0a773b2ea9beb4b6793d8ee7bc947072b324f2a8 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Mar 16 21:42:39 2022 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Mar 16 22:10:53 2022 +0000 |
tree | 8f857fb956404884947fc0e11695cf3f80fa9aab | |
parent | f933141681761b5d8fe3d2bc5f97b22055ddb4fe [diff] |
Synchronize VM callbacks Both the callback and the executor are needed to invoke a callback so read and update them atomically. This avoids the possibility of the callback being called on the wrong executor. Also make sure that onDied() is only called once for a VM by synchronizing the possible death sources. Fix: 220730550 Test: atest MicrodroidTests Change-Id: I434ea70cc90f1df9a23c8518798ef26fe0adf9e7
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.