Register as a lazy service.

This allows the service manager to shut down the virtualization
service process when the service is no longer in use.

Also ensure that our process is not killed while we are holding debug
VM refs; this ensures "vm run --daemonize" works as expected.

Bug: 199367367
Test: Run compos_key_cmd to start a VM and exit; VS process is stopped.
Test: atest ComposKeyTestCase; passes, VS exits at end
Change-Id: Iffbaf715bbd64d0e85d0ca544e6a95b100cdd3df
2 files changed
tree: 528e83002ac8e644fd00b47372fb0a77471ab657
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. idsig/
  9. javalib/
  10. launcher/
  11. microdroid/
  12. microdroid_manager/
  13. tests/
  14. virtualizationservice/
  15. vm/
  16. vmconfig/
  17. zipfuse/
  18. .clang-format
  19. Android.bp
  20. OWNERS
  21. PREUPLOAD.cfg
  22. README.md
  23. 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.