Artifact [8497b9b25c]
Not logged in

Artifact 8497b9b25c72145faa3e756e5c35876430f22cb4:

Wiki page [monitor locking] by admin on 2015-07-18 18:15:33.
D 2015-07-18T18:15:33.860
L monitor\slocking
U admin
W 578
We need to ensure that if some process sends a command to particular instance of QEMU would get its response completely, and it wouldn't go to any other process, working with same socket.

So, we would obtain an exclusive lock on virtual machine before sending command and release this lock immediately after command output is completely read (up to <b>(qemu)</b> prompt.


This would allow parallely executed process to get chance to send a command.

If process needs to check for qemu unsolicisted messages, it also have to obtain lock. And release just after checking.
Z b2eeb9a310499ffb49de2f02ba1413e9