Skip to content

s390x/kvm: ioctl for reading and writing from/to guest memory

Thomas Huth kvm qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Update Linux headers with KVM_GUEST_MEM_OP ioctllinux-headers/linux/kvm.h+21 -00 replies
2/2s390x/mmu: Use ioctl for reading and writing from/to guest memorytarget-s390x/cpu.h target-s390x/kvm.c target-s390x/mmu_helper.c+51 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] s390x/kvm: ioctl for reading and writing from/to guest memory

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(-)