Add support for create image & start VM.

Add a make-image command to create an empty VM image.

Add --start <image> option to start a CompOS VM & then connect to it,
rather than some existing VM. Also add --log to capture the VM output
to file.

This is mostly for test purposes, and to allow me to experiment with
using IVirtualizationService from C++ before I start adding it to
odsign.

Bug: 193603140
Test: compos_key_cmd make-instance <if>
Test: compos_key_cmd --log <log> --start <if> generate <blob> <key>
Test: compos_key_cmd --log <log> --start <if> verify <blob> <key>
Change-Id: I32419837ac4cf0c69180382fa7eaee591056f85d
3 files changed
tree: e3dd54fcda072a650a8a684d4d99c9ba0d66edd7
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. docs/
  7. javalib/
  8. launcher/
  9. microdroid/
  10. microdroid_manager/
  11. tests/
  12. virtualizationservice/
  13. vm/
  14. vmconfig/
  15. zipfuse/
  16. .clang-format
  17. Android.bp
  18. OWNERS
  19. PREUPLOAD.cfg
  20. README.md
  21. 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.