Commit efe4d41
committed
Check QEMU process status before periodically checking socket files.
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 efe4d41
1 file changed
+17
-2
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 | | |
| |||
0 commit comments