pvmfw: Issue MMIO_GUARD_ENROLL before UART setup

Issue the HVC for when pvmfw is loaded by the VMM (in crosvm, when the
--protected-vm-with-firmware flag is passed) as, in that case, pKVM
supports MMIO_GUARD but doesn't auto-enroll the VM into it. When the pVM
has been auto-enrolled, the HVC returns SUCCESS and this change has no
effect.

Test: crosvm run --protected-vm-with-firmware <pvmfw> --bios <payload>
Change-Id: Id552d6dccea7d865d593dc87c4195d146105c67f
1 file changed
tree: 24c8d228d00884716ea9b2f00dabd0fd160c0995
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. 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.