android_packages_modules_Vi.../virtualizationservice
Nikita Ioffe 5776f08810 Add --gdb flag to vm run,run-app and run-microdroid commands
This flag will be passed through to crosvm, which in turn will start a
gdb server at the given port. This will allow us to attach gdb to guest
kernel.

There are following rules on how --gdb flag can be used:

1. Only caller with USE_CUSTOM_VIRTUAL_MACHINE permission (a.k.a. shell)
   can specify gdbPort in the payload config
2. The --gdb flag is only supported for non-protected VMs.
3. The --gdb flag is only supported for fully debuggable app payloads.

Bug: 242057159
Test: run-microdroid --gdb 3456
Change-Id: Iea93d8e6b37d23801d84cc1dc5fc1a250b54a047
2023-02-16 14:33:18 +00:00
..
aidl Add --gdb flag to vm run,run-app and run-microdroid commands 2023-02-16 14:33:18 +00:00
src Importing rustc-1.66.0 2023-01-26 18:24:25 +00:00
Android.bp Move virtmgr files to their own directory 2023-01-18 18:52:17 +00:00