"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "replay/replay-events.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-events.c  (qemu-6.0.0-rc1.tar.xz):replay-events.c  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 18 skipping to change at line 18
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
* *
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "sysemu/replay.h" #include "sysemu/replay.h"
#include "replay-internal.h" #include "replay-internal.h"
#include "block/aio.h" #include "block/aio.h"
#include "ui/input.h" #include "ui/input.h"
#include "hw/core/cpu.h"
typedef struct Event { typedef struct Event {
ReplayAsyncEventKind event_kind; ReplayAsyncEventKind event_kind;
void *opaque; void *opaque;
void *opaque2; void *opaque2;
uint64_t id; uint64_t id;
QTAILQ_ENTRY(Event) events; QTAILQ_ENTRY(Event) events;
} Event; } Event;
skipping to change at line 129 skipping to change at line 130
} }
Event *event = g_malloc0(sizeof(Event)); Event *event = g_malloc0(sizeof(Event));
event->event_kind = event_kind; event->event_kind = event_kind;
event->opaque = opaque; event->opaque = opaque;
event->opaque2 = opaque2; event->opaque2 = opaque2;
event->id = id; event->id = id;
g_assert(replay_mutex_locked()); g_assert(replay_mutex_locked());
QTAILQ_INSERT_TAIL(&events_list, event, events); QTAILQ_INSERT_TAIL(&events_list, event, events);
qemu_cpu_kick(first_cpu);
} }
void replay_bh_schedule_event(QEMUBH *bh) void replay_bh_schedule_event(QEMUBH *bh)
{ {
if (events_enabled) { if (events_enabled) {
uint64_t id = replay_get_current_icount(); uint64_t id = replay_get_current_icount();
replay_add_event(REPLAY_ASYNC_EVENT_BH, bh, NULL, id); replay_add_event(REPLAY_ASYNC_EVENT_BH, bh, NULL, id);
} else { } else {
qemu_bh_schedule(bh); qemu_bh_schedule(bh);
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

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