commit | d50a0241bb49af19d1576597fa402a7d808af79c | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Sep 16 21:00:14 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Thu Sep 16 21:00:14 2021 +0900 |
tree | 95c621c2eea02e3a6aa17a38db104a388b354c54 | |
parent | 59785ec9023b2d4d328c916197da0d04ad781ff3 [diff] |
Don't reuse CID while Android is up As virtualizationservice has become a lazy AIDL service, it started to reuse CID, because a new virtualizationservice process always starts from the default CID 10. This has caused some flakness to tests because the adb connection to the VM for a test sometimes goes to another VM that was started for a prior test - because they both have the same CID 10. Fixing this issue by introducing a system property `virtualizationservice.state.last.cid` to keep the last CID value across the runs of virtualizationservice. Note that the system property is not persistent; a reboot of the host Android starts from CID 10. Bug: 196015427 Test: watch TH Change-Id: I16309aa95e30c95f20381302d2bc1d3d9eae1563
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.