Disable ramdump with debug policy

This CL disables ramdump if debug policy doesn't explicitly
enables ramdump via ramdump prop in the /avf/guest/common node.

The virtualization service always provides crashkernel=17M via
kernel command, so this CL removes crashkernel=17MB in the
microdroid's bootargs in the /chosen node.

Here's the test result on my machine with MicrodroidTestApp.

  - Before the CL (or this CL + ramdump is enabled)
    $ adb shell /proc/meminfo
    MemTotal:         212968 kB
    MemFree:          138336 kB
    MemAvailable:     171980 kB

  - With this CL + ramdump is disabled
    $ adb shell /proc/meminfo
    MemTotal:         230372 kB
    MemFree:          165240 kB
    MemAvailable:     192648 kB

Bug: 243630590
Test:  Boot microdroid with following AVF debug policies \
  - AVF debug policy exists, and ramdump=<1> \
  - AVF debug policy exists, and ramdump=<0> \
  - No AVF debug policy
Change-Id: Ia486448b5513c2d5662a4f16ddb3334b20913329
4 files changed
tree: e964244e030b350f22c4ede9aefa272e6b56ffe0
  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.