adb_qemu_guest_shell
Execute a shell command on a QEMU guest VM via ADB after connecting the VM with adb_qemu_connect.
Instructions
Execute a shell command on a QEMU guest VM via ADB. The VM must be connected first (use adb_qemu_connect). The guest serial is derived internally — no user-supplied host/IP reaches the ADB binary. Subject to the same security middleware checks as adb_shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | VM name (must be connected via adb_qemu_connect) | |
| command | Yes | Shell command to execute on the guest | |
| timeout | No | Command timeout in milliseconds (1s-60s). Default 15s. |