This repository was archived by the owner on Apr 3, 2018. It is now read-only.
Commit eeacf8b
Sebastien Boeuf
qemu: Fix disconnectCh issue and simplify it
The fact that waitPod() implementation for QEMU tries to connect
to the VM from a loop, means that every time QMPStart() returns,
the disconnect channel is closed. We need a new channel to be setup
every time we call QMPStart() again.
Also, this commit takes care of removing disconnectCh field from
qmpChannel structure since this is not used.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>1 parent 711783f commit eeacf8b
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
762 | 761 | | |
763 | 762 | | |
764 | 763 | | |
765 | | - | |
766 | 764 | | |
767 | 765 | | |
768 | 766 | | |
| |||
771 | 769 | | |
772 | 770 | | |
773 | 771 | | |
| 772 | + | |
774 | 773 | | |
775 | 774 | | |
776 | 775 | | |
| |||
803 | 802 | | |
804 | 803 | | |
805 | 804 | | |
806 | | - | |
| 805 | + | |
807 | 806 | | |
808 | 807 | | |
809 | 808 | | |
810 | | - | |
| 809 | + | |
811 | 810 | | |
812 | 811 | | |
813 | 812 | | |
| |||
825 | 824 | | |
826 | 825 | | |
827 | 826 | | |
828 | | - | |
| 827 | + | |
829 | 828 | | |
830 | 829 | | |
831 | 830 | | |
| |||
0 commit comments