Do not assume there is only one crosvm process

Our benchmarks search for crosvm's PID by running 'ps -a | grep crosvm'.
This may work now but will fail if/when then system runs VMs
independently of the test process.
Add methods to find crosvm as the child process of virtmgr, which in
turn is the child process of the current PID.

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