Hi, This series has already been sent out once before under the guise of tidying up the pstate access and getting TCG migration working for ARM v8 hosts. I've since added the final two patches to support KVM based migration as well.
For KVM migration you will need some patches for the kernel side which are currently working their way through kvmarm: https://patches.linaro.org/patchwork/bundle/alex.ben...@linaro.org/armv8-migration/ Changes since v1: - addressed review comments - merged xpsr state into changes - checkpatch fixes - cleaner handling of integer flag manipulation - addition of final KVM patches Alex Bennée (10): target-arm/cpu.h: document various program state functions target-arm/cpu.h: common pstate save/restore target-arm: Support save/load for 64 bit CPUs target-arm: replace cpsr/xpsr/pstate_read calls arm/nwfps: replace cpsr_write with set_condition_codes linux-user/main.c: __kernel_cmpxchg set env->CF directly target-arm: remove last users of cpsr_write target-arm: remove final users of pstate_write target-arm/kvm.c: better error reporting target-arm/kvm: make reg sync code common between kvm32/64 linux-user/arm/nwfpe/fpa11.h | 2 +- linux-user/elfload.c | 4 +- linux-user/main.c | 17 ++-- linux-user/signal.c | 65 ++++++++------- target-arm/cpu.h | 192 +++++++++++++++++++++++++++++++++++-------- target-arm/gdbstub.c | 10 ++- target-arm/gdbstub64.c | 6 +- target-arm/helper-a64.c | 11 +-- target-arm/helper.c | 92 +++------------------ target-arm/kvm.c | 137 ++++++++++++++++++++++++++++++ target-arm/kvm32.c | 96 ++-------------------- target-arm/kvm64.c | 6 +- target-arm/kvm_arm.h | 12 +++ target-arm/machine.c | 27 +++--- target-arm/op_helper.c | 55 +++++++++++-- target-arm/translate-a64.c | 2 +- target-arm/translate.c | 2 +- 17 files changed, 448 insertions(+), 288 deletions(-) -- 2.0.1 Cheers, -- Alex Bennée QEMU/KVM Hacker for Linaro