/qemu/docs/devel/ |
H A D | multiple-iothreads.rst | 14 The main loop and ``IOThread``\ s 21 The default event loop is called the main loop (see ``main-loop.c``). It is 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 41 The fact that all I/O processing is done in a single main loop and that the 42 BQL is contended by all vCPU threads and the main loop explain 53 The main difference between legacy code and new code that can run in an [all …]
|
H A D | tcg.rst | 42 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 197 unlike the main code it can't use debug information to link individual
|
/qemu/include/qemu/ |
H A D | main-loop.h | 34 #define TYPE_MAIN_LOOP "main-loop" 43 * qemu_init_main_loop: Set up the process so that it can run the main loop. 47 * main one should block signals that are trapped by the main loop. 58 * main_loop_wait: Run one iteration of the main loop. 61 * one actually occurs. The main loop usually consists of a loop that 64 * Main loop services include file descriptor callbacks, bottom halves 70 * case, the coroutine actually should be started from within the main loop, 71 * so that the main loop can run whenever the coroutine yields. To do this, 72 * you can use a bottom half to enter the coroutine as soon as the main loop 95 * qemu_get_aio_context: Return the main loop's AioContext [all …]
|
/qemu/include/ |
H A D | qemu-main.h | 9 * The function to run on the main (initial) thread of the process. 10 * NULL means QEMU's main event loop. 11 * When non-NULL, QEMU's main event loop will run on a purposely created 14 * This is useful on platforms which treat the main thread as special 15 * (macOS/Darwin) and/or require all UI API calls to occur from the main 18 * will handle system and UI events on the main thread via QEMU's own main
|
/qemu/include/block/ |
H A D | aio-wait.h | 29 #include "qemu/main-loop.h" 37 * The main loop can wait on an operation running in an IOThread as follows: 44 * The IOThread must call aio_wait_kick() to notify the main loop when 73 * The caller's thread must be the IOThread that owns @ctx or the main loop 76 * go via the main loop instead. 111 * Wake up the main thread if it is waiting on AIO_WAIT_WHILE(). During 112 * synchronous operations performed in an IOThread, the main thread lets the 114 * aio_wait_kick() call will wake up the main thread. 126 * Must be called from the main loop thread without @ctx acquired. 127 * Note that main loop event processing may occur.
|
H A D | graph-lock.h | 28 * Currently we have 1 writer only, the Main loop, and many 31 * We distinguish between writer (main loop, under BQL) that modifies the 36 * The writer (main loop) has an "exclusive" access, so it first waits for 109 * The wrlock can only be taken from the main loop, with BQL held, as only the 110 * main loop is allowed to modify the graph. 137 * Calling this function from the Main Loop with BQL held 138 * is not necessary, since the Main Loop itself is the only 141 * function/coroutine itself, and need to delegate the caller (usually main 160 * in the main loop. It is just asserting that we are not 171 * Make sure that the reader is either the main loop, [all …]
|
/qemu/system/ |
H A D | main.c | 26 #include "qemu-main.h" 27 #include "qemu/main-loop.h" 33 * SDL insists on wrapping the main() function with its own implementation on 34 * some platforms; it does so via a macro that renames our main function, so 69 int main(int argc, char **argv) in main() function 79 * On MacOS, qemu main event loop runs in a background thread, as main in main()
|
/qemu/storage-daemon/qapi/ |
H A D | qapi-schema.json | 4 # Note that modules are shared with the QEMU main schema under the assumption 5 # that the storage daemon schema is a subset of the main schema. For the shared 7 # from the main schema. 10 # not in the main schema, be aware that array types of types defined in shared 12 # in the main schema. Therefore, if you use such arrays, you may need to define 13 # the array type in the main schema, even if it is unused outside of the
|
/qemu/include/io/ |
H A D | channel-watch.h | 38 * Create a new main loop source that is able to 44 * Returns: the new main loop source 56 * Create a new main loop source that is able to 62 * Returns: the new main loop source 75 * Create a new main loop source that is able to 83 * Returns: the new main loop source
|
/qemu/tests/tcg/s390x/ |
H A D | head64.S | 7 #define main main_pre macro 9 #undef main 16 brasl %r14,main 17 larl %r1,success_psw /* check main() return code */
|
H A D | larl.c | 8 int main(void) in main() function 10 long algfi = (long)main; in main() 18 asm("larl %[r],main+0xd0000000" : [r] "=r" (larl)); in main()
|
/qemu/hw/remote/ |
H A D | mpqemu-link.c | 18 #include "qemu/main-loop.h" 26 * - main loop in co-routine context. Will block the main loop if not in 29 * of the main loop handling; 64 * Also skip lock handling while in a co-routine in the main context. in mpqemu_msg_send() 88 * - From main loop in co-routine context. Will block the main loop if not in 91 * of the main loop handling;
|
/qemu/hw/avr/ |
H A D | arduino.c | 78 * https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove in arduino_duemilanove_class_init() 79 * https://www.arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdf in arduino_duemilanove_class_init() 94 * https://www.arduino.cc/en/uploads/Main/arduino-uno-schematic.pdf in arduino_uno_class_init() 108 * https://www.arduino.cc/en/Main/ArduinoBoardMega in arduino_mega_class_init() 109 * https://www.arduino.cc/en/uploads/Main/arduino-mega2560-schematic.pdf in arduino_mega_class_init() 124 * https://www.arduino.cc/en/uploads/Main/arduino-mega2560_R3-sch.pdf in arduino_mega2560_class_init()
|
/qemu/scripts/ |
H A D | qapi-gen.py | 16 from qapi import main 19 sys.exit(main.main())
|
H A D | xen-detect.c | 9 int main(void) { in main() function 26 int main(void) { in main() function 40 int main(void) { in main() function 70 int main(void) { in main() function 115 int main(void) { in main() function
|
/qemu/tests/tcg/multiarch/gdbstub/ |
H A D | late-attach.py | 5 from test_gdbstub import main, report 13 # Assume the guest did not reach main(). 28 main(run_test)
|
H A D | catch-syscalls.py | 5 from test_gdbstub import main, report 16 gdb.Breakpoint("main") 53 main(run_test)
|
/qemu/migration/ |
H A D | migration.h | 34 #define MIGRATION_THREAD_SRC_MAIN "mig/src/main" 105 * Free at the start of the main state load, set as the main thread finishes 151 * Always set by the main vm load thread only, but can be read by the 157 * Used to sync between the ram load main thread and the fast ram load 164 * the ram load main thread will take this mutex over and properly 207 * interruption detected. When the recovery is done, the main load 235 * If postcopy preempt is enabled, there is a chance that the main 238 * will use this condvar to synchronize, so the main thread will always 287 * main thread, and we keep post() and wait() in pair. 338 * Used to synchronize between migration main thread and return [all …]
|
/qemu/tests/functional/ |
H A D | test_aarch64_xlnx_versal.py | 12 ('http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/' 18 ('http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/' 37 LinuxKernelTest.main()
|
H A D | test_ppc64_e500.py | 14 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_e5500-2023.11-… 18 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_e5500-2023.11… 44 LinuxKernelTest.main()
|
H A D | test_ppc64_mac99.py | 13 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_mac99-2023.11-… 17 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_mac99-2023.11… 44 LinuxKernelTest.main()
|
H A D | test_mips_replay.py | 15 '20130217T032700Z/pool/main/l/linux-2.6/' 29 '20160601T041800Z/pool/main/l/linux/' 55 ReplayKernelBase.main()
|
/qemu/tests/tcg/aarch64/ |
H A D | bti-crt.c.inc | 5 * and so could generate a BTI TRAP before ever reaching main. 13 int main(void); 17 exit(main());
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 159 option for the main migration channel, like normal live migration. 187 * Issue the ``migrate`` command, containing a main channel and 203 The main incoming migration channel address cannot be a file type. 205 If the main incoming channel address is an inet socket, then the port 213 main migration channel until you issue the migrate incoming command. 251 {"channel-type": "main", 270 accepting the main migration channel. Again note you must issue the 300 {"channel-type": "main",
|
/qemu/ |
H A D | meson.build | 160 # semaphores are linked into the main binary and not the module's shared 205 int main(void) { 411 int main(void) 487 int main(int argc, char *argv[]) 517 int main(void) { makecontext(0, 0, 0); return 0; }''' 543 int main(void) 578 if cc.links('int main(int argc, char **argv) { return argc + 1; }', 633 if cc.compiles('int main () { return 0; }', 669 if cc.compiles('int main () { return 0; }', name: '-fsanitize=cfi-icall', 675 if cc.compiles('int main () { return 0; }', [all …]
|