diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-08-29 16:53:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-17 19:00:56 +0200 |
| commit | 758e5de501f78d4ef53a43e0c5a4783cd807b5be (patch) | |
| tree | 3d543c115e9a4fe491f175bab70f55820d966896 /accel/tcg/user-exec.c | |
| parent | 871de7078fcaf597605576b97b32fab14722ea43 (diff) | |
| download | focaccia-qemu-758e5de501f78d4ef53a43e0c5a4783cd807b5be.tar.gz focaccia-qemu-758e5de501f78d4ef53a43e0c5a4783cd807b5be.zip | |
bsd-user, linux-user: introduce qemu_process_cpu_events
Add a user-mode emulation version of the function. More will be added later, for now it is just process_queued_cpu_work. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/tcg/user-exec.c')
| -rw-r--r-- | accel/tcg/user-exec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 3c072fd868..65f5da6c50 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -52,6 +52,11 @@ void qemu_cpu_kick(CPUState *cpu) tcg_kick_vcpu_thread(cpu); } +void qemu_process_cpu_events(CPUState *cpu) +{ + process_queued_cpu_work(cpu); +} + /* * Adjust the pc to pass to cpu_restore_state; return the memop type. */ |