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
Bug: 183496040
Test: atest MicrodroidHostTestCase
Test: TARGET_BUILD_APPS=MicrodroidTestApp.signed
Push the build MicrodroidTestApp.apk.idsig to /data/local/tmp/virt
Install the APK and run it.
Change-Id: I1614f8c83605a32ef34b62216c13cb4e4f7fcf99
android.system.virtualmachine is added as the client-side API for the
controlling of virtual machines. This change doesn't add any new API.
It adds an empty library to the existing framework.
Bug: 183496040
Test: atest MicrodroidHostTestCases
Change-Id: I9c52dfaf7e33137e5e3d6c587b5cc3932f667025