A stopped VM with no files is deleted

I came across this accidentally while writing a demo app. It's very
much an edge case, but without this fix quite difficult to get out of.

(Writing the test to reproduce was most of the work here.)

Bug: 243512240
Test: atest MicrodroidTests
Change-Id: Ifd51b463302418d36c83a25c1d5dedb701179363
4 files changed
tree: d17c6c9f4566d9dbcf36be69b03484da68ecb803
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationmanager/
  18. virtualizationservice/
  19. vm/
  20. vm_payload/
  21. vmbase/
  22. vmclient/
  23. zipfuse/
  24. .clang-format
  25. .gitignore
  26. Android.bp
  27. OWNERS
  28. PREUPLOAD.cfg
  29. README.md
  30. 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.