Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
#define QEMU_MAIN_LOOP_H 1 #define SIG_IPI SIGUSR1 /** * qemu_init_main_loop: Set up the process so that it can run the main loop. * * This includes setting up signal handlers. It should be called before * any other threads are created. In addition, threads other than the * ma...
return qemu_aio_context; } void qemu_notify_event(void) { if (!qemu_aio_context) { return; } aio_notify(qemu_aio_context); } static GArray *gpollfds; int qemu_init_main_loop(void) { int ret; GSource *src; init_clocks(); ret = qemu_signal_init(); if...
static int qemu_main_loop_event_init(void) { int err; int fds[2]; err = pipe(fds); if (err == -1) return -errno; err = fcntl_setfl(fds[0], O_NONBLOCK); if (err < 0) goto fail; err = fcntl_setfl(fds[1], O_NONBLOCK); ...
return qemu_aio_context; } void qemu_notify_event(void) { if (!qemu_aio_context) { return; } qemu_bh_schedule(qemu_notify_bh); } static GArray *gpollfds; int qemu_init_main_loop(Error **errp) { int ret; GSource *src; init_clocks(qemu_timer_notify_cb); ret = qemu_signal_in...
C-SKY architecture on QEMU. Contribute to alvis0419/qemu development by creating an account on GitHub.
static int qemu_signal_init(void) { int sigfd; sigset_t set; /* * SIG_IPI must be blocked in the main thread and must not be caught * by sigwait() in the signal thread. Otherwise, the cpu thread will * not catch it reliably....
AioContext *qemu_get_aio_context(void) { return qemu_aio_context; } void qemu_notify_event(void) { if (!qemu_aio_context) { return; } aio_notify(qemu_aio_context); } static GArray *gpollfds; int qemu_init_main_loop(void) { int ret; GSource *src; init_clocks(); ret = qemu...
QEMU with instrumentation plugins extension. Contribute to guillon/qemu-plugins development by creating an account on GitHub.
int qemu_init_main_loop(void) { int ret; GSource *src; init_clocks(); init_timer_alarm(); @@ -222,6 +223,9 @@ int qemu_init_main_loop(void) } qemu_aio_context = aio_context_new(); src = aio_get_g_source(qemu_aio_context); g_source_attach(src, NULL); g_source_unref(...