target-arm: Convert TCG to using (index,value) list for cp migration

Enterprise / Virtualization / QEMU - Peter Maydell [linaro.org] - 25 June 2013 12:16 UTC

Convert the TCG ARM target to using an (index,value) list for migrating coprocessors. The primary benefit of the (index,value) list is for passing state between KVM and QEMU, but it works for TCG-to-TCG migration as well and is a useful self-contained first step.

721fae1 target-arm: Convert TCG to using (index,value) list for cp migration
target-arm/cpu-qom.h | 20 ++++++
target-arm/cpu.c | 2 +
target-arm/cpu.h | 69 ++++++++++++++++++++
target-arm/helper.c | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++
target-arm/kvm.c | 9 +++
target-arm/machine.c | 114 +++++++++++++++++++--------------
6 files changed, 341 insertions(+), 47 deletions(-)

Upstream: git.qemu.org


  • Share