Received: from eggs.gnu.org ([2001:4830:134:3::10]:60046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUGoj-00025I-9i for qemu-devel@nongnu.org; Tue, 25 Aug 2015 12:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUGof-0001v9-W1 for qemu-devel@nongnu.org; Tue, 25 Aug 2015 12:11:21 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:55687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUGof-0001tn-LT for qemu-devel@nongnu.org; Tue, 25 Aug 2015 12:11:17 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 25 Aug 2015 17:11:16 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 01E7817D805F for ; Tue, 25 Aug 2015 17:12:53 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7PGBE9933423592 for ; Tue, 25 Aug 2015 16:11:14 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7PGB0CR017537 for ; Tue, 25 Aug 2015 10:11:01 -0600 From: Cornelia Huck Date: Tue, 25 Aug 2015 18:10:42 +0200 Message-Id: <1440519050-17986-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/8] s390x: storage key migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, agraf@suse.de, jjherne@linux.vnet.ibm.com Here's the second edition of the storage key migration patches. Changes from v1: - have the dump-skeys qmp command use qemu_fopen() and friends - handle failures of the skeys-obtaining commands by filling the stream with zeroes and setting an error flag Would like to send a pull request soonish. 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 | 425 ++++++++++++++++++++++++++++++++++++++++ hw/s390x/s390-virtio-ccw.c | 39 +++- 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, 745 insertions(+), 26 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.5.0