Commit 074c59e
authored
Check QEMU process status before periodically checking socket files. (#114)
Sometimes, the QEMU process exits early due to various reasons, e.g.,
the missing of kernel binary, providing incorrect qemu commandline
arguments, ... and vmtest didn't check the exit status of QEMU and it
will wait for 5 seconds to detect the error.
This patch teaches vmtest exit earlier when the QEMU process exits
unexpectedly.1 parent 9b6098a commit 074c59e
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
766 | 781 | | |
767 | 782 | | |
768 | 783 | | |
| |||
1035 | 1050 | | |
1036 | 1051 | | |
1037 | 1052 | | |
1038 | | - | |
| 1053 | + | |
1039 | 1054 | | |
1040 | 1055 | | |
1041 | 1056 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments