[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] ppc: spapr: Nested kvm guest migration fixes
From: |
Shivaprasad G Bhat |
Subject: |
[PATCH v2 0/4] ppc: spapr: Nested kvm guest migration fixes |
Date: |
Wed, 05 Jun 2024 15:57:25 +0000 |
User-agent: |
StGit/1.5 |
The series fixes the issues exposed by the kvm-unit-tests[1]
sprs-migration test.
The sprs DEXCR, HASKKEYR and HASHPKEYR are not registered with
one-reg IDs without which the Qemu is not setting them to their
'previous' value before vcpu run or migration at destination.
The first patch updates the linux header with the IDs[2] for
current use till a complete update post kernel release. The
remaining three patches in the series take care registering
them with KVM.
References:
[1]: https://github.com/kvm-unit-tests/kvm-unit-tests
[2]:
https://lore.kernel.org/kvm/171759276071.1480.9356137231993600304.stgit@linux.ibm.com
---
Changelog:
v1:
https://lore.kernel.org/qemu-devel/171741555734.11675.17428208097186191736.stgit@c0c876608f2d/
- Moved the linux header changes to a separate patch adding
definitions for all the required one-reg ids together.
- Added one-reg ID for HASHPKEYR as suggested
Shivaprasad G Bhat (4):
linux-header: PPC: KVM: Update one-reg ids for DEXCR, HASHKEYR and
HASHPKEYR
target/ppc/cpu_init: Synchronize DEXCR with KVM for migration
target/ppc/cpu_init: Synchronize HASHKEYR with KVM for migration
target/ppc/cpu_init: Synchronize HASHPKEYR with KVM for migration
linux-headers/asm-powerpc/kvm.h | 3 +++
target/ppc/cpu_init.c | 12 ++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
--
Signature
- [PATCH v2 0/4] ppc: spapr: Nested kvm guest migration fixes,
Shivaprasad G Bhat <=