commit | 8d35160ef501726be947750890129b2f551787a0 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Thu Mar 23 16:44:58 2023 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Fri Mar 24 12:09:17 2023 +0000 |
tree | 48b41a3fca2daaffc963589bcd79837827f91fa7 | |
parent | a5c3b4b7302275dc62f2d760d48e41aa378f83cb [diff] |
Determine CompOS VM size from properties Rather than hard-wiring the max VM size, use properties to allow ART to specify how much is needed by the current ART version, and the hypervisor provider to specify an adjustment to it. Previously we set the maximum to 1 GiB, in an attempt to allow for future growth. Instead set the default in the absence of information from ART to 400 MiB, which is sufficient for current versions with a small amount of additional headroom. Bug: 274597466 Test: atest ComposHostTestCases Test: manual: set bad values, see errors Change-Id: Ibd98b670c2ee800064f8069b64ffa9fd160b7446
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.