Ensure that VirtIO buffers are aligned to PAGE_SIZE as required.

The existing code assumed that the hypervisor granule was greater than
virtio_driver::PAGE_SIZE, which is true in practice so far but not
guaranteed.

Removed redundant documentation from the Hal trait implementation, and
made the implementation safety comments more explicit.

Bug: 274732281
Bug: 237249346
Test: Build virt APEX
Change-Id: I776dcda7f5660b6f6e696c6834ac03f8e4023543
2 files changed
tree: 84af22bcd2b501297b6732d4f3b87bb3e55c2a8d
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. docs/
  7. encryptedstore/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. service_vm/
  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.