|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v2 10/21] accel: Introduce AccelOpsClass::cpu_thread_is_idle() |
| Date: | Sun, 6 Feb 2022 10:22:10 +1100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/4/22 06:18, Philippe Mathieu-Daudé wrote:
Add cpu_thread_is_idle() to AccelOps, and implement it for the KVM / WHPX accelerators. Suggested-by: Richard Henderson<richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org> --- accel/kvm/kvm-accel-ops.c | 6 ++++++ include/sysemu/accel-ops.h | 1 + softmmu/cpus.c | 6 ++++-- target/i386/whpx/whpx-accel-ops.c | 6 ++++++ 4 files changed, 17 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |