commit | dae07167f60472baaf391b163927e5f95a7e9c5d | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Mar 12 17:05:20 2021 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Tue Apr 13 16:01:16 2021 +0000 |
tree | 2b89c761bde49078b9898d88ba0bcc28c7ef3cfd | |
parent | 8a13d2555b98757ff1cf1672b11a67c4ee256afb [diff] |
Wait for crosvm in a separate thread, and keep track of when it dies. This lets us tell whether a VM is still running or has finished. Also add callback so clients can get notified when crosvm dies. Bug: 171277638 Test: Ran on VIM3L Test: atest VirtualizationTestCases Change-Id: I52c1625af45cfcfe7aa0be465ea08f427ec5bc43