[PATCH v2 0/2] KVM: s390: pv: fix two small bugs

From: Claudio Imbrenda
Date: Wed Jul 05 2023 - 07:20:02 EST


This series fixes 2 small bugs introduced with asynchronous teardown.

The first patch (unmodified since v1, but did not get any reviews)
fixes a potential race that can cause crashes during shutdown on
machines that don't support protected virtualization.

The second patch adds a missing initialization when replacing the ASCE
for a protected guest. This could potentially cause issues and crashes
if lowcore is affected.


v1->v2:

* added the second patch

Claudio Imbrenda (2):
KVM: s390: pv: simplify shutdown and fix race
KVM: s390: pv: fix index value of replaced ASCE

arch/s390/kvm/pv.c | 8 ++++++--
arch/s390/mm/gmap.c | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)

--
2.41.0