commit | caa995c62bb53980c6b3ad28ac63eadfc5234079 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Tue Nov 08 16:35:50 2022 +0900 |
committer | Jooyung Han <jooyung@google.com> | Tue Nov 08 22:10:16 2022 +0900 |
tree | 6276b2402520055db5f7587bcabac4dffefc7584 | |
parent | 743e0d67122ba34310297f45db931da32ec0e2f7 [diff] |
Pass sorted list of apexes to VM The order of apex list does matter within microdroid. To keep the stability, sort the list of apexes before passing to a VM. Sorting key is a composite of (apex name, apex version, apex mod timestamp). Paths are not suitable for sorting key because "prefer_staged" will result in different paths before/after reboot. We could use "unordered list", especially when checking the VM identity within a VM. But "ordered list" is assumed in many places and is more efficient. Bug: 257377686 Test: virtualizationservice_device_test Change-Id: I1c269afc059da0df4c6f318d5a591f7a03d4600f
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.