On a cpu reset normal, we need to clear local cpus. Unfortunately we need a new API for that, since KVM only exposes one of the three resets.
Also we need to clear the riccb and the PSW ri mask on a normal reset. Patches are also in my cleanup branch. Janosch Frank (3): Header sync s390x: Add missing vcpu reset functions s390x: Fix cpu normal reset ri clearing linux-headers/linux/kvm.h | 4 ++++ target/s390x/cpu.c | 19 ++++++++++++++++-- target/s390x/cpu.h | 7 ++++++- target/s390x/kvm-stub.c | 10 +++++++++- target/s390x/kvm.c | 42 +++++++++++++++++++++++++++++++-------- target/s390x/kvm_s390x.h | 4 +++- 6 files changed, 73 insertions(+), 13 deletions(-) -- 2.20.1