android_packages_modules_Vi.../virtualizationservice/aidl
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
..
android/system Add --gdb flag to vm run,run-app and run-microdroid commands 2023-02-16 14:33:18 +00:00
Android.bp virtmgr: Delegate debugVmList to virtualizationservice 2023-01-12 14:03:16 +00:00