]> www.infradead.org Git - users/dwmw2/qemu.git/commit
replay: introduce mutex to protect the replay log
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Thu, 17 Sep 2015 16:23:48 +0000 (19:23 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Nov 2015 11:19:09 +0000 (12:19 +0100)
commitc16861ef1b7b27803b4c068ef778ba0f80fba1c2
treef550dd82ac16446d302808993e548087eb1ea3f8
parentc92079f45fec0bc6a2757aa3783dd9b0604089ba
replay: introduce mutex to protect the replay log

This mutex will protect read/write operations for replay log.
Using mutex is necessary because most of the events consist of
several fields stored in the log. The mutex will help to avoid races.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20150917162348.8676.8628.stgit@PASHA-ISP.def.inno>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
replay/replay-internal.c
replay/replay-internal.h