commit | 1b8b5ce9b9bd8aaeafd5491a8747355da9230056 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Tue Nov 08 16:35:50 2022 +0900 |
committer | Jooyung Han <jooyung@google.com> | Wed Nov 09 11:50:41 2022 +0900 |
tree | 5deed7878fa57ab63735a40fa36bc514c8067ec6 | |
parent | 46abff7e959b409f43055d848e2009117c44ab5b [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 Merged-In: I1c269afc059da0df4c6f318d5a591f7a03d4600f Change-Id: I1c269afc059da0df4c6f318d5a591f7a03d4600f (cherry picked from commit a44227570f032d166b7636daf47a369670925d89)
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.