On a diag 308 subcode 0 and 1 we need to load the whole reset PSW and not just the address.
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. Patches are also in my cleanup branch. Janosch Frank (3): s390x: Properly fetch and test the short psw on diag308 subc 0/1 Sync reset s390x: protvirt: Add new VCPU reset functions linux-headers/linux/kvm.h | 7 +++++++ target/s390x/cpu.c | 26 ++++++++++++++++++++++---- target/s390x/cpu.h | 1 + target/s390x/kvm-stub.c | 10 +++++++++- target/s390x/kvm.c | 38 ++++++++++++++++++++++++++++++++------ target/s390x/kvm_s390x.h | 4 +++- 6 files changed, 74 insertions(+), 12 deletions(-) -- 2.20.1