[PATCH 0/2] ppc: spapr: Nested kvm guest migration fixes

Shivaprasad G Bhat posted 2 patches 5 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
linux-headers/asm-powerpc/kvm.h | 2 ++
target/ppc/cpu_init.c           | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
[PATCH 0/2] ppc: spapr: Nested kvm guest migration fixes
Posted by Shivaprasad G Bhat 5 months, 3 weeks ago
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@linux.ibm.com

---

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
Re: [PATCH 0/2] ppc: spapr: Nested kvm guest migration fixes
Posted by Cornelia Huck 5 months, 3 weeks ago
On Mon, Jun 03 2024, Shivaprasad G Bhat <sbhat@linux.ibm.com> wrote:

> 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@linux.ibm.com
>
> ---
>
> 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 ++

Please split out any changes under linux-headers/ into a separate patch;
those files need to be changed via a full header update against a
released kernel version. If the changes are not yet upstream in the
Linux kernel, please put in a clearly marked placeholder patch in the
meanwhile.


>  target/ppc/cpu_init.c           | 8 ++++----
>  2 files changed, 6 insertions(+), 4 deletions(-)
>
> --
> Signature