diff options
author | Pavel Dovgalyuk <Pavel.Dovgaluk@gmail.com> | 2020-05-22 09:47:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-26 06:45:30 -0400 |
commit | 255ae6e2158c743717bed76c9a2365ee4bcd326e (patch) | |
tree | dc7f618e37866f5cf1b402e29cb7e59b8d2de094 /replay/replay.c | |
parent | 5d971f9e672507210e77d020d89e0e89165c8fc9 (diff) |
replay: notify the main loop when there are no instructions
When QEMU is executed in console mode without any external event sources,
main loop may sleep for a very long time. But in case of replay
there is another event source - event log.
This patch adds main loop notification when the vCPU loop has nothing
to do and main loop should process the inputs from the event log.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Message-Id: <159013007895.28110.2020104406699709721.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'replay/replay.c')
0 files changed, 0 insertions, 0 deletions