Here's the first batch of s390x patches I plan to send for 2.5. This one deals with storage keys, which may be set by guests and lacked a proper resting place so far. Introducing a device (that is backed by the KVM_S390_{SET,GET}_SKEYS ioctls in the kvm case) allows us to migrate them properly.
Also available as a branch on git://github.com/cohuck/qemu s390-skey Cornelia Huck (1): s390x: add 2.5 compat s390-ccw-virtio machine Jason J. Herne (7): s390x: Create QOM device for s390 storage keys s390x: Enable new s390-storage-keys device s390x: Dump storage keys qmp command s390x: Dump-skeys hmp support s390x: Info skeys sub-command s390x: Migrate guest storage keys (initial memory only) s390x: Disable storage key migration on old machine type MAINTAINERS | 1 + hmp-commands.hx | 18 ++ hw/s390x/Makefile.objs | 2 + hw/s390x/s390-skeys-kvm.c | 75 ++++++++ hw/s390x/s390-skeys.c | 402 ++++++++++++++++++++++++++++++++++++++++ hw/s390x/s390-virtio-ccw.c | 38 +++- hw/s390x/s390-virtio.c | 11 +- hw/s390x/s390-virtio.h | 2 +- include/hw/s390x/storage-keys.h | 60 ++++++ monitor.c | 20 ++ qapi-schema.json | 13 ++ qmp-commands.hx | 25 +++ target-s390x/cpu.h | 2 - target-s390x/mem_helper.c | 46 ++++- target-s390x/mmu_helper.c | 28 ++- trace-events | 4 + 16 files changed, 722 insertions(+), 25 deletions(-) create mode 100644 hw/s390x/s390-skeys-kvm.c create mode 100644 hw/s390x/s390-skeys.c create mode 100644 include/hw/s390x/storage-keys.h -- 2.4.6