commit | 98f2ae783a22c833fee2c39e96746f5fbbd2e19e | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Oct 25 18:08:31 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Mon Nov 07 10:27:01 2022 +0000 |
tree | ad63a637bbd619d57e3cb027c0319319afa53c9a | |
parent | 1dabd56bd85c7a9639ccd26565c1575b2c19234b [diff] |
More API improvements This attempts to address more of the comments on aosp/2192077. - Add a message to some of our exceptions. - Move error checking from build() to the VirtualMachineConfig constructor, so we catch any errors when deserializing config too. - Make negative memory an error. Add @IntRange to memory & number of CPUs. - Check debugLevel is valid. - Improve various javadoc comments. - Rename toParcel() to toVsConfig() because it was confusing me. - Remove the no-args construction for our exception because we don't use it and probably never should. Bug: 243512115 Test: atest MicrodroidTests MicrodroidHostTests Change-Id: I64c6b9e9f9620e9b93702cd93aedc72d754ba406
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.