pvmfw: Log clarification about initrd_normal error

As pvmfw_avb::verify_payload() checks if the payload is debuggable by
first trying to verify a payload named 'initrd_normal' then an
'initrd_debug', debuggable payloads will fail to verify the former while
still being valid. As libavb logs any verification failure, this will
result in the confusing log:

    avb_slot_verify.c:443: ERROR: initrd_normal: Hash of data does not match digest in descriptor.

To avoid any confusion, detect a successfully verified payload and log a
message to clarify the above in pvmfw. This is prefered over logging at
the libavb call site so that we don't introduce logging in pvmfw_avb.

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