Remove logd from Microdroid

Logs are now sent directly to /dev/hvc2, instead of being sent to logd
and then forwarded by logcat.

ro.log.file_logger.enabled is statically set to 1 so that the liblog
library doesn't attempt to send logs to logd which doesn't exist.

ro.log.file_logger.path is dynamically set to either /dev/hvc2 or
/dev/stderr depending on whether the VM is debuggable or not.

Bug: 222592894
Test: run Microdroid using the VM tool and see if logs are still shown
Test: logd process doesn't exist
Change-Id: I3412d4f853f2def8ca1e22fece8b6bf1debc3e92
6 files changed
tree: 06ec4b29be0e9c25eb567e95842ab3f487375474
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. avmd/
  6. compos/
  7. demo/
  8. docs/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmbase/
  20. vmclient/
  21. zipfuse/
  22. .clang-format
  23. .gitignore
  24. Android.bp
  25. OWNERS
  26. PREUPLOAD.cfg
  27. README.md
  28. 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.