On 12/20/22 14:04, Fabiano Rosas wrote:
From: Claudio Fontana<[email protected]>

of note, cpreg lists were previously initialized by TCG first,
and then thrown away and replaced with the data coming from KVM.

Now we just initialize once, either for TCG or for KVM.

Signed-off-by: Claudio Fontana<[email protected]>
[moved arm_cpu_register_gdb_regs_for_features out of tcg_enabled]
Signed-off-by: Fabiano Rosas<[email protected]>
Reviewed-by: Richard Henderson<[email protected]>
---
Originally from:
[RFC v14 16/80] target/arm: only perform TCG cpu and machine inits if
TCG enabled
https://lore.kernel.org/r/[email protected]
---
  target/arm/cpu.c     | 31 +++++++++++++++++-------------
  target/arm/kvm.c     | 18 +++++++++---------
  target/arm/kvm_arm.h |  3 +--
  target/arm/machine.c | 45 +++++++++++++++++++++++++-------------------
  4 files changed, 54 insertions(+), 43 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to