Update of "monitor locking"
Not logged in
Overview

Artifact ID: 8497b9b25c72145faa3e756e5c35876430f22cb4
Page Name:monitor locking
Date: 2015-07-18 18:15:33
Original User: admin
Content

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 (qemu) 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.