summary refs log tree commit diff stats
path: root/include/hw/core/cpu.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-08-29 10:31:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-09-17 19:00:55 +0200
commit9e1ecd4aaaf9aa2f5b7caf364a10241a2cba02a8 (patch)
tree001af22d468decb40af19a4690b08dd1b4afb1fb /include/hw/core/cpu.h
parent27e76d010104646c997d20ca0996fb5a046587b0 (diff)
downloadfocaccia-qemu-9e1ecd4aaaf9aa2f5b7caf364a10241a2cba02a8.tar.gz
focaccia-qemu-9e1ecd4aaaf9aa2f5b7caf364a10241a2cba02a8.zip
cpus: document that qemu_cpu_kick() can be used for BQL-less operation
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/core/cpu.h')
-rw-r--r--include/hw/core/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h
index 23bd02277f..8b57bcd92c 100644
--- a/include/hw/core/cpu.h
+++ b/include/hw/core/cpu.h
@@ -829,7 +829,8 @@ bool qemu_cpu_is_self(CPUState *cpu);
  * qemu_cpu_kick:
  * @cpu: The vCPU to kick.
  *
- * Kicks @cpu's thread.
+ * Kicks @cpu's thread to exit the accelerator.  For accelerators that
+ * can do that, the target vCPU thread will try not to take the BQL.
  */
 void qemu_cpu_kick(CPUState *cpu);