bootconfig is part of VM identity

VM's identity should be changed if debug level is changed. Debug level
is implemented using bootconfig. So changing the bootconfig should
invalidate the previous identity. This change implements the policy by
adding the bootconfig to MicrodroidData and refuses to boot if the saved
bootconfig is not the same as the current bootconfig.

Bug: 208639280
Test: atest MicrodroidTestApp on oriole_pkvm
Change-Id: I63ac0c2ecd7514d9193e655c9258c305c87e2a08
4 files changed
tree: 1d4a0d608d940500ccc7355188280cd9a54e8fdd
  1. apex/
  2. apkdmverity/
  3. apkverify/
  4. authfs/
  5. binder_common/
  6. compos/
  7. demo/
  8. docs/
  9. idsig/
  10. javalib/
  11. launcher/
  12. libs/
  13. microdroid/
  14. microdroid_manager/
  15. pvmfw/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmconfig/
  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.