pvmfw: Receive payload location from DT

To unify the cases where pvmfw is loaded into pVM address space by pKVM
(the VMM is then allowed to set registers x1 and x2) or by the VMM
itself (all registers except x0 are silently zeroed by pKVM), locate the
pre-loaded kernel through the DT, in a similar way to the ramdisk.

Keep supporting the x1/x2 ABI when the legacy feature is enabled.

Bug: 253616035
Test: Boot pvmfw & check logs with a crosvm with crrev.com/c/4064759
Change-Id: I74d3e52025fa1fbc5e74246e9fb09a7fb46222a0
2 files changed
tree: 5483545697bc630b298d4f82113eaee1330492d1
  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. 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.