mbox series

[0/3] accel: Add new @dirty field on HVF/NVMM/WHPX

Message ID 20240424174506.326-1-philmd@linaro.org (mailing list archive)
Headers show
Series accel: Add new @dirty field on HVF/NVMM/WHPX | expand

Message

Philippe Mathieu-Daudé April 24, 2024, 5:45 p.m. UTC
We want CPUState to only contain fields used by common code.
Start using a specific @dirty field for HVF/NVMM/WHPX
(TCG then KVM will follow).

Philippe Mathieu-Daudé (3):
  accel/whpx: Use accel-specific per-vcpu @dirty field
  accel/nvmm: Use accel-specific per-vcpu @dirty field
  accel/hvf: Use accel-specific per-vcpu @dirty field

 include/hw/core/cpu.h       |  3 +--
 include/sysemu/hvf_int.h    |  1 +
 accel/hvf/hvf-accel-ops.c   | 10 +++++-----
 target/arm/hvf/hvf.c        |  4 ++--
 target/i386/hvf/hvf.c       |  4 ++--
 target/i386/hvf/x86hvf.c    |  2 +-
 target/i386/nvmm/nvmm-all.c | 21 +++++++++++----------
 target/i386/whpx/whpx-all.c | 23 ++++++++++++-----------
 8 files changed, 35 insertions(+), 33 deletions(-)

Comments

Richard Henderson April 24, 2024, 10:13 p.m. UTC | #1
On 4/24/24 10:45, Philippe Mathieu-Daudé wrote:
> Philippe Mathieu-Daudé (3):
>    accel/whpx: Use accel-specific per-vcpu @dirty field
>    accel/nvmm: Use accel-specific per-vcpu @dirty field
>    accel/hvf: Use accel-specific per-vcpu @dirty field

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Philippe Mathieu-Daudé April 26, 2024, 3:03 p.m. UTC | #2
On 24/4/24 19:45, Philippe Mathieu-Daudé wrote:
> We want CPUState to only contain fields used by common code.
> Start using a specific @dirty field for HVF/NVMM/WHPX
> (TCG then KVM will follow).
> 
> Philippe Mathieu-Daudé (3):
>    accel/whpx: Use accel-specific per-vcpu @dirty field
>    accel/nvmm: Use accel-specific per-vcpu @dirty field
>    accel/hvf: Use accel-specific per-vcpu @dirty field

Thanks, queued.