Support config-less VMs

Update the Java API to allow the config file to be omitted. Instead,
the binary path can be specified explicitly.

Remove certs from VirtualMachineConfig; they were only used for
compatibility checking, and running a VM with a different APK
(regardless of singing certs) isn't supported. Require whether the VM
is protected to be specified explicitly, to avoid accidents.

Modify the config serialization format & bump the version.

Modify demo + test clients to match.

Refactor the tests to split off the extra APK test (which requires a
config file), minimizing code duplication.

Migrate one success test to run without config file.

Bug: 243513572
Test: atest MicrodroidTests
Change-Id: I6b195d4daa9c8132e1f71a04d2253f538edcbe4a
6 files changed
tree: c51740210518a90ccfd1f7bbcd3497d7946493f1
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. avmd/
  6. compos/
  7. demo/
  8. docs/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmbase/
  20. vmclient/
  21. zipfuse/
  22. .clang-format
  23. .gitignore
  24. Android.bp
  25. OWNERS
  26. PREUPLOAD.cfg
  27. README.md
  28. TEST_MAPPING
README.md

Virtualization

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.