Let's implement the remaining resets, namely the normal and clear reset to improve architectural compliance. While we're at it, let's also start testing the new API. Those tests are not yet complete, but will be extended in the future. v10: * Cleared up the test patch and added strerror information * Removed capability checks from irq test * Fixed clobber patch Christian Borntraeger (1): KVM: s390: do not clobber registers during guest reset/store status Janosch Frank (4): KVM: s390: Cleanup initial cpu reset KVM: s390: Add new reset vcpu API selftests: KVM: Add fpu and one reg set/get library functions selftests: KVM: s390x: Add reset tests Pierre Morel (1): selftests: KVM: testing the local IRQs resets Documentation/virt/kvm/api.txt | 43 ++++ arch/s390/include/asm/kvm_host.h | 5 + arch/s390/kvm/kvm-s390.c | 92 +++++--- include/uapi/linux/kvm.h | 5 + tools/testing/selftests/kvm/Makefile | 1 + .../testing/selftests/kvm/include/kvm_util.h | 6 + tools/testing/selftests/kvm/lib/kvm_util.c | 36 ++++ tools/testing/selftests/kvm/s390x/resets.c | 197 ++++++++++++++++++ 8 files changed, 351 insertions(+), 34 deletions(-) create mode 100644 tools/testing/selftests/kvm/s390x/resets.c -- 2.20.1