From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNKij-0006QT-Ox for qemu-devel@nongnu.org; Mon, 16 Feb 2015 07:24:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNKig-000669-Ff for qemu-devel@nongnu.org; Mon, 16 Feb 2015 07:24:13 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:52959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNKig-00065s-6A for qemu-devel@nongnu.org; Mon, 16 Feb 2015 07:24:10 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Feb 2015 12:24:09 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 95A3B2190088 for ; Mon, 16 Feb 2015 12:23:59 +0000 (GMT) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1GCMYLv36831266 for ; Mon, 16 Feb 2015 12:22:34 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1GCMXYZ007727 for ; Mon, 16 Feb 2015 05:22:34 -0700 From: Thomas Huth Date: Mon, 16 Feb 2015 13:22:16 +0100 Message-Id: <1424089338-14562-1-git-send-email-thuth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/2] s390x/kvm: ioctl for reading and writing from/to guest memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Thomas Huth , kvm@vger.kernel.org, agraf@suse.de, borntraeger@de.ibm.com, cornelia.huck@de.ibm.com, pbonzini@redhat.com These two patches enable QEMU to make use of the new KVM_GUEST_MEM_OP ioctl on s390x (see my kernel patch with the title "KVM: s390: Add MEMOP ioctls for reading/writing guest memory" that I've posted on the KVM mailing list). The first patch in this series updates the Linux headers with the new ioctl definitions. This should be replaced with a proper synchronized header update against kvm/next as soon as the kernel part has been accepted. The second patch then uses the ioctl when QEMU has to access the logical memory of a guest. This patch goes on top of my "s390x: rework guest memory access" patch series that has been sent out to the qemu-devel list by Jens Freimann on last thursday. Thomas Huth (2): Update Linux headers with KVM_GUEST_MEM_OP ioctl s390x/mmu: Use ioctl for reading and writing from/to guest memory linux-headers/linux/kvm.h | 21 +++++++++++++++++++++ target-s390x/cpu.h | 7 +++++++ target-s390x/kvm.c | 35 +++++++++++++++++++++++++++++++++++ target-s390x/mmu_helper.c | 9 +++++++++ 4 files changed, 72 insertions(+), 0 deletions(-)