"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "replay/replay.c" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

replay.c  (qemu-6.0.0-rc1.tar.xz):replay.c  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 183 skipping to change at line 183
{ {
bool res = false; bool res = false;
static bool in_checkpoint; static bool in_checkpoint;
assert(EVENT_CHECKPOINT + checkpoint <= EVENT_CHECKPOINT_LAST); assert(EVENT_CHECKPOINT + checkpoint <= EVENT_CHECKPOINT_LAST);
if (!replay_file) { if (!replay_file) {
return true; return true;
} }
if (in_checkpoint) { if (in_checkpoint) {
/* If we are already in checkpoint, then there is no need /*
for additional synchronization.
Recursion occurs when HW event modifies timers. Recursion occurs when HW event modifies timers.
Timer modification may invoke the checkpoint and Prevent performing icount warp in this case and
proceed to recursion. */ wait for another invocation of the checkpoint.
return true; */
g_assert(replay_mode == REPLAY_MODE_PLAY);
return false;
} }
in_checkpoint = true; in_checkpoint = true;
replay_save_instructions(); replay_save_instructions();
if (replay_mode == REPLAY_MODE_PLAY) { if (replay_mode == REPLAY_MODE_PLAY) {
g_assert(replay_mutex_locked()); g_assert(replay_mutex_locked());
if (replay_next_event_is(EVENT_CHECKPOINT + checkpoint)) { if (replay_next_event_is(EVENT_CHECKPOINT + checkpoint)) {
replay_finish_event(); replay_finish_event();
} else if (replay_state.data_kind != EVENT_ASYNC) { } else if (replay_state.data_kind != EVENT_ASYNC) {
 End of changes. 2 change blocks. 
5 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)