The series fixes the issues exposed by the kvm-unit-tests[1] sprs-migration test. The sprs DEXCR and HASKKEYR are not registered with one-reg IDs without which the Qemu is not setting them to their 'previous' value during guest migreation at destination. The two patches in the series take care of this. Also, the PPC kvm header changes are selectively picked for the required definitions posted here at [2]. References: [1]: https://github.com/kvm-unit-tests/kvm-unit-tests [2]: https://lore.kernel.org/kvm/171741323521.6631.11242552089199677395.stgit@xxxxxxxxxxxxx --- Shivaprasad G Bhat (2): target/ppc/cpu_init: Synchronize DEXCR with KVM for migration target/ppc/cpu_init: Synchronize HASHKEYR with KVM for migration linux-headers/asm-powerpc/kvm.h | 2 ++ target/ppc/cpu_init.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) -- Signature