-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_emu: Better handling for startup errors
When using qemu with an invalid argument the command fails with a JSON decode error because the qemu process terminates before the qmp handshake is completed. Catch these kind of errors and surface them to the user as start errors. Also provide additional context by dumping the emulator logs. Bug: 315868463 Change-Id: I07248dc3f27b7b6096fed829a71c0079eae46616 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184859 Reviewed-by: Jonathon Reinhart <[email protected]> Pigweed-Auto-Submit: Octavian Purdila <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
- Loading branch information
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters