Document valid port range.

Switch the port parameters to long, since Java int can't hold the
largest u32 value.

Throw an exception if out of range values are passed.

Also enforce the >= 1024 restriction in VS, just in case we start
using privileged vsock ports for something.

Use a port number > 2^31 in one of our tests just to make sure it
works.

BYPASS_INCLUSIVE_LANGUAGE_REASON='man' used to refer to the manual command.

Bug: 261037705
Test: atest MicrodroidTests
Change-Id: Icf22d9c2e746f300b184e66469fb6b62c574b6ff
5 files changed
tree: 83dcd4e6032c497b7996e03bc52a30b31b63efce
  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.