Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 94) sorted by relevance

1234

/qemu/docs/devel/
H A Dmultiple-iothreads.rst14 The main loop and ``IOThread``\ s
17 event loop. The VNC server and the QMP monitor are both processed from the
18 same event loop, which monitors their file descriptors until they become
21 The default event loop is called the main loop (see ``main-loop.c``). It is
22 possible to create additional event loop threads using
25 Side note: The main loop and ``IOThread`` are both event loops but their code is
31 ``IOThread``\ s allow the user to control the placement of work. The main loop is a
33 several ``IOThread``\ s instead of just one main loop. When set up correctly this
36 The main loop is also deeply associated with the BQL, which is a
37 scalability bottleneck in itself. vCPU threads and the main loop use the BQL
[all …]
H A Dtcg-icount.rst41 translated block and will cause a return to the outer loop to deal
47 loop and regenerate a new translation block with exactly the right
49 was due to expire will expire exactly when we exit the main run loop.
63 - exit the cpu loop and execute the re-compiled block
H A Dtcg.rst42 main loop. That’s where QEMU looks for the next TB to execute,
55 main loop as described above. These mechanisms are:
66 branch to the next TB or return to the main loop.
78 that has been assumed constant and is required by the main loop to
100 Next, the main loop looks for the next TB to execute using the
110 the destination TB, without going back to the main loop.
124 different than the one that was directly executed from the main loop
/qemu/python/qemu/qmp/
H A Dutil.py88 loop: Optional[asyncio.AbstractEventLoop] = None
99 if loop is not None:
100 return loop.create_task(coro)
104 return asyncio.ensure_future(coro, loop=loop)
163 loop = asyncio.get_event_loop()
164 loop.set_debug(debug)
165 ret = loop.run_until_complete(coro)
166 loop.close()
/qemu/tests/qtest/
H A Ddbus-vmstate-test.c38 GMainLoop *loop; member
80 GMainLoop *loop; member
92 g_main_loop_quit(t->loop); in named_cb()
104 wait->loop = test->loop; in get_connection()
118 g_main_loop_run(wait->loop); in get_connection()
164 GMainLoop *loop = data; in dbus_vmstate_thread() local
166 g_main_loop_run(loop); in dbus_vmstate_thread()
189 g_autoptr(GMainLoop) loop = NULL; in test_dbus_vmstate()
196 loop = g_main_loop_new(NULL, FALSE); in test_dbus_vmstate()
197 test->loop = loop; in test_dbus_vmstate()
[all …]
H A Dvnc-display-test.c19 GMainLoop *loop; member
66 test->loop = g_main_loop_new(NULL, FALSE); in test_setup()
78 g_main_loop_quit(test->loop); in test_vnc_basic_on_vnc_initialized()
93 g_main_loop_run(test.loop); in test_vnc_basic()
97 g_main_loop_unref(test.loop); in test_vnc_basic()
H A Ddbus-display-test.c86 GMainLoop *loop; member
104 g_main_loop_quit(test->loop); in listener_handle_scanout()
137 g_main_loop_quit(test->loop); in listener_handle_scanout_map()
202 g_main_loop_quit(test->loop); in test_dbus_console_registered()
224 g_autoptr(GMainLoop) loop = NULL; in test_dbus_display_console()
254 test.loop = loop = g_main_loop_new(NULL, FALSE); in test_dbus_display_console()
289 g_main_loop_run(loop); in test_dbus_display_console()
/qemu/tests/unit/
H A Dtest-io-task.c142 GMainLoop *loop; member
170 g_main_loop_quit(data->loop); in test_task_thread_callback()
181 data.loop = g_main_loop_new(g_main_context_default(), in test_task_thread_complete()
195 g_main_loop_run(data.loop); in test_task_thread_complete()
197 g_main_loop_unref(data.loop); in test_task_thread_complete()
222 data.loop = g_main_loop_new(g_main_context_default(), in test_task_thread_failure()
237 g_main_loop_run(data.loop); in test_task_thread_failure()
239 g_main_loop_unref(data.loop); in test_task_thread_failure()
H A Dtest-io-channel-socket.c90 GMainLoop *loop; member
99 g_main_loop_quit(data->loop); in test_io_channel_complete()
112 data.loop = g_main_loop_new(g_main_context_default(), in test_io_channel_setup_async()
120 g_main_loop_run(data.loop); in test_io_channel_setup_async()
141 g_main_loop_run(data.loop); in test_io_channel_setup_async()
155 g_main_loop_unref(data.loop); in test_io_channel_setup_async()
/qemu/tests/tcg/xtensa/
H A Dtest_loop.S3 test_suite loop
7 test loop
10 loop a3, 1f
18 loop a2, 1f
28 loop a3, 1f
38 loop a3, 1f
70 loop a3, 1f
/qemu/scripts/
H A Duserfaultfd-wrlat.py107 loop = 0 variable
111 loop += 1
112 if loop > count:
/qemu/io/
H A Dnet-listener.c183 GMainLoop *loop; member
204 g_main_loop_quit(data->loop); in qio_net_listener_wait_client_func()
213 GMainLoop *loop = g_main_loop_new(ctxt, TRUE); in qio_net_listener_wait_client() local
217 .loop = loop in qio_net_listener_wait_client()
241 g_main_loop_run(loop); in qio_net_listener_wait_client()
247 g_main_loop_unref(loop); in qio_net_listener_wait_client()
H A Dchannel.c747 GMainLoop *loop = opaque; in qio_channel_wait_complete() local
749 g_main_loop_quit(loop); in qio_channel_wait_complete()
758 GMainLoop *loop = g_main_loop_new(ctxt, TRUE); in qio_channel_wait() local
765 loop, in qio_channel_wait()
770 g_main_loop_run(loop); in qio_channel_wait()
773 g_main_loop_unref(loop); in qio_channel_wait()
/qemu/target/hexagon/imported/
H A Dbranch.idef211 Q6INSN(J2_loop0r,"loop0(#r7:2,Rs32)",ATTRIBS(),"Initialize HW loop 0",
217 Q6INSN(J2_loop1r,"loop1(#r7:2,Rs32)",ATTRIBS(),"Initialize HW loop 1",
222 Q6INSN(J2_loop0i,"loop0(#r7:2,#U10)",ATTRIBS(),"Initialize HW loop 0",
228 Q6INSN(J2_loop1i,"loop1(#r7:2,#U10)",ATTRIBS(),"Initialize HW loop 1",
234 Q6INSN(J2_ploop1sr,"p3=sp1loop0(#r7:2,Rs32)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
240 Q6INSN(J2_ploop1si,"p3=sp1loop0(#r7:2,#U10)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
247 Q6INSN(J2_ploop2sr,"p3=sp2loop0(#r7:2,Rs32)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
253 Q6INSN(J2_ploop2si,"p3=sp2loop0(#r7:2,#U10)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
260 Q6INSN(J2_ploop3sr,"p3=sp3loop0(#r7:2,Rs32)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
266 Q6INSN(J2_ploop3si,"p3=sp3loop0(#r7:2,#U10)",ATTRIBS(A_ARCHV2),"Initialize HW loop 0",
[all …]
/qemu/contrib/vhost-user-scsi/
H A Dvhost-user-scsi.c37 GMainLoop *loop; member
227 g_main_loop_quit(vdev_scsi->loop); in vus_panic_cb()
416 vdev_scsi->loop = g_main_loop_new(NULL, FALSE); in main()
428 g_main_loop_run(vdev_scsi->loop); in main()
434 g_main_loop_unref(vdev_scsi->loop); in main()
/qemu/tests/tcg/loongarch64/system/
H A Dboot.S37 loop: label
45 bnez t1, loop
/qemu/tests/qemu-iotests/
H A D043.out5 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop.
10 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop.
17 qemu-img: Backing file 'TEST_DIR/t.IMGFMT.2.base' creates an infinite loop.
/qemu/tests/tcg/tricore/c/
H A Dcrt0-tc2x.S184 mov.a %a5,%d2 #; %a5 = loop counter
192 loop %a5,csa_loop #; repeat until done
224 mov.a %a2,%d0 # %a2 = loop counter
227 loop %a2,__clear_dword
269 mov.a %a2,%d0 # %a2 = loop counter
273 loop %a2,__copy_dword
/qemu/tests/qtest/migration/ppc64/
H A Da-b-kernel.S56 loop: label
66 b loop
/qemu/target/hexagon/
H A Dattribs_def.h.inc106 DEF_ATTRIB(IMPLICIT_WRITES_LC0, "Writes loop count for loop 0", "", "UREG.LC0")
107 DEF_ATTRIB(IMPLICIT_WRITES_LC1, "Writes loop count for loop 1", "", "UREG.LC1")
108 DEF_ATTRIB(IMPLICIT_WRITES_SA0, "Writes start addr for loop 0", "", "UREG.SA0")
109 DEF_ATTRIB(IMPLICIT_WRITES_SA1, "Writes start addr for loop 1", "", "UREG.SA1")
/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c43 GMainLoop *loop; member
97 g_main_loop_quit(vdev_blk->loop); in vub_panic_cb()
510 g_main_loop_unref(vdev_blk->loop); in vub_free()
559 vdev_blk->loop = g_main_loop_new(NULL, FALSE); in vub_new()
657 g_main_loop_run(vdev_blk->loop); in main()
658 g_main_loop_unref(vdev_blk->loop); in main()
/qemu/pc-bios/s390-ccw/
H A Dstart.S33 loop: label
36 brctg %r4,loop
/qemu/net/
H A Ddgram.c152 unsigned char loop; in net_dgram_mcast_create() local
154 int loop; in net_dgram_mcast_create() local
209 loop = 1; in net_dgram_mcast_create()
211 &loop, sizeof(loop)); in net_dgram_mcast_create()
/qemu/tests/migration-stress/guestperf/
H A Dengine.py248 loop = 0
250 loop = loop + 1
254 if (loop % 20) == 0:
285 if self._verbose and (loop % 20) == 0:
/qemu/contrib/vhost-user-input/
H A Dmain.c298 GMainLoop *loop = NULL; in main() local
402 loop = g_main_loop_new(NULL, FALSE); in main()
403 g_main_loop_run(loop); in main()
404 g_main_loop_unref(loop); in main()

1234