Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 113) sorted by relevance

12345

/qemu/target/mips/sysemu/
A Dcp0_timer.c41 uint32_t wait; in cpu_mips_timer_update() local
44 wait = env->CP0_Compare - cpu_mips_get_count_val(env); in cpu_mips_timer_update()
46 if (!wait) { in cpu_mips_timer_update()
47 wait = UINT32_MAX; in cpu_mips_timer_update()
49 next_ns = now_ns + clock_ticks_to_ns(env->count_clock, wait); in cpu_mips_timer_update()
/qemu/python/qemu/qmp/
A Dlegacy.py220 wait: Union[bool, float] = False) -> Optional[QMPMessage]:
234 if not wait:
243 if wait and isinstance(wait, float):
244 timeout = wait
253 def get_events(self, wait: Union[bool, float] = False) -> List[QMPMessage]:
272 event = self.pull_event(wait)
/qemu/tests/functional/
A Dtest_mem_addr_space.py48 self.vm.wait()
65 self.vm.wait()
133 self.vm.wait()
160 self.vm.wait()
180 self.vm.wait()
254 self.vm.wait()
292 self.vm.wait()
A Dtest_arm_sx1.py47 self.vm.wait(timeout=60)
58 self.vm.wait(timeout=60)
69 self.vm.wait(timeout=60)
A Dtest_arm_bpim2u.py92 self.vm.wait()
141 self.vm.wait()
A Dtest_empty_cpu_model.py19 self.vm.wait()
/qemu/hw/openrisc/
A Dcputimer.c66 uint32_t wait; in cpu_openrisc_timer_update() local
77 wait = TTMR_TP - (or1k_timer->ttcr & TTMR_TP) + 1; in cpu_openrisc_timer_update()
78 wait += cpu->env.ttmr & TTMR_TP; in cpu_openrisc_timer_update()
80 wait = (cpu->env.ttmr & TTMR_TP) - (or1k_timer->ttcr & TTMR_TP); in cpu_openrisc_timer_update()
82 next = now + (uint64_t)wait * TIMER_PERIOD; in cpu_openrisc_timer_update()
/qemu/util/
A Dthrottle.c85 double wait = extra * NANOSECONDS_PER_SECOND; in throttle_do_compute_wait() local
86 wait /= limit; in throttle_do_compute_wait()
87 return wait; in throttle_do_compute_wait()
154 int64_t wait, max_wait = 0; in throttle_compute_wait_for() local
159 wait = throttle_compute_wait(&ts->cfg.buckets[index]); in throttle_compute_wait_for()
160 if (wait > max_wait) { in throttle_compute_wait_for()
161 max_wait = wait; in throttle_compute_wait_for()
180 int64_t wait; in throttle_compute_timer() local
186 wait = throttle_compute_wait_for(ts, direction); in throttle_compute_timer()
189 if (wait) { in throttle_compute_timer()
[all …]
A Dfdmon-poll.c76 return ctx->fdmon_ops->wait(ctx, ready_list, timeout); in fdmon_poll_wait()
105 .wait = fdmon_poll_wait,
/qemu/hw/misc/macio/
A Dmac_dbdma.c167 uint16_t wait; in conditional_wait() local
174 switch(wait) { in conditional_wait()
189 switch(wait) { in conditional_wait()
287 goto wait; in dbdma_end()
298 wait: in dbdma_end()
378 goto wait; in load_word()
387 wait: in load_word()
411 goto wait; in store_word()
420 wait: in store_word()
429 goto wait; in nop()
[all …]
/qemu/python/qemu/machine/
A Dmachine.py456 self.wait()
549 self._subp.wait(timeout=60)
596 self._subp.wait(timeout=timeout)
658 def wait(self, timeout: Optional[int] = 30) -> None: member in QEMUMachine
740 def get_qmp_event(self, wait: bool = False) -> Optional[QMPMessage]:
746 return self._qmp.pull_event(wait=wait)
748 def get_qmp_events(self, wait: bool = False) -> List[QMPMessage]:
752 events = self._qmp.get_events(wait=wait)
838 event = self._qmp.pull_event(wait=timeout)
/qemu/tests/unit/
A Dtest-throttle.c88 int64_t wait; in test_compute_wait() local
98 wait = throttle_compute_wait(&bkt); in test_compute_wait()
99 g_assert(!wait); in test_compute_wait()
105 wait = throttle_compute_wait(&bkt); in test_compute_wait()
106 g_assert(!wait); in test_compute_wait()
112 wait = throttle_compute_wait(&bkt); in test_compute_wait()
113 g_assert(!wait); in test_compute_wait()
119 wait = throttle_compute_wait(&bkt); in test_compute_wait()
122 g_assert(wait == result); in test_compute_wait()
134 wait = throttle_compute_wait(&bkt); in test_compute_wait()
[all …]
/qemu/tests/qtest/
A Ddbus-vmstate-test.c99 WaitNamed *wait; in get_connection() local
103 wait = g_new0(WaitNamed, 1); in get_connection()
104 wait->loop = test->loop; in get_connection()
116 named_cb, named_cb, wait, g_free); in get_connection()
117 if (!wait->named) { in get_connection()
118 g_main_loop_run(wait->loop); in get_connection()
/qemu/tests/avocado/
A Dmigration.py20 from avocado.utils import wait
36 wait.wait_for(self.migration_finished,
40 wait.wait_for(self.migration_finished,
/qemu/docs/
A Dcolo-proxy.txt167 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off
168 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off
169 -chardev socket,id=compare0,host=3.3.3.3,port=9001,server=on,wait=off
171 -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server=on,wait=off
193 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off
194 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off
195 -chardev socket,id=compare0,host=3.3.3.3,port=9001,server=on,wait=off
197 -chardev socket,id=compare_out,host=3.3.3.3,port=9005,server=on,wait=off
/qemu/hw/timer/
A Dmips_gictimer.c24 uint32_t wait; in gic_vptimer_update() local
26 wait = gictimer->vptimers[vp_index].comparelo - gictimer->sh_counterlo - in gic_vptimer_update()
28 next = now + (uint64_t)wait * TIMER_PERIOD; in gic_vptimer_update()
/qemu/block/
A Dbackup.c50 bool wait; member
140 if (s->wait) { in backup_block_copy_callback()
141 s->wait = false; in backup_block_copy_callback()
174 job->wait = true; in backup_loop()
310 s->wait = true; in backup_pause()
/qemu/tests/qemu-iotests/
A Diotests.py388 self._p.wait(timeout=1)
476 self._p.wait()
543 p.wait()
958 def get_qmp_events_filtered(self, wait=60.0): argument
960 for ev in self.get_qmp_events(wait=wait):
1260 resume=False, wait=60.0):
1270 for event in self.vm.get_qmp_events(wait=wait):
1284 wait=60.0, error=None):
1287 for event in self.vm.get_qmp_events(wait=wait):
1342 def pause_job(self, job_id='job0', wait=True): argument
[all …]
A D03097 self.pause_job('drive0', wait=False)
267 for event in self.vm.get_qmp_events(wait=True):
447 for event in self.vm.get_qmp_events(wait=True):
480 for event in self.vm.get_qmp_events(wait=True):
672 for event in self.vm.get_qmp_events(wait=True):
699 for event in self.vm.get_qmp_events(wait=True):
732 for event in self.vm.get_qmp_events(wait=True):
780 for event in self.vm.get_qmp_events(wait=True):
825 for event in self.vm.get_qmp_events(wait=True):
890 events = self.vm.get_qmp_events(wait=False)
A Dcommon.qemu387 if [ -z "${wait}" ] && [ -n "${QEMU_PID}" ]; then
395 if [ -n "${wait}" ]; then
A D274113 vm.run_job('job0', wait=5)
134 vm.run_job('job0', wait=5)
A D041479 for event in self.vm.get_qmp_events(wait=True):
503 event = self.vm.get_qmp_event(wait=True)
506 event = self.vm.get_qmp_event(wait=True)
528 event = self.vm.get_qmp_event(wait=True)
531 event = self.vm.get_qmp_event(wait=True)
556 for event in self.vm.get_qmp_events(wait=True):
642 for event in self.vm.get_qmp_events(wait=True):
683 for event in self.vm.get_qmp_events(wait=True):
884 event = self.vm.get_qmp_event(wait=60.0)
887 event = self.vm.get_qmp_event(wait=60.0)
/qemu/docs/system/arm/
A Dxenpvh.rst29 -chardev socket,id=libxl-cmd,path=qmp-libxl-1,server=on,wait=off \
31 -chardev socket,id=libxenstat-cmd,path=qmp-libxenstat-1,server=on,wait=off \
/qemu/docs/system/i386/
A Dxenpvh.rst35 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server=on,wait=off \
37 -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-3,server=on,wait=off \
/qemu/docs/devel/
A Dblock-coroutine-wrapper.rst9 needed function from it and wait for the coroutine to finish in a
16 parameters into a struct, create a coroutine, run it and wait in

Completed in 52 milliseconds

12345