Re: [PATCH v6 08/18] s390x: Add SIDA memory ops

2020-03-05 Thread Janosch Frank
On 3/4/20 6:39 PM, David Hildenbrand wrote: > On 04.03.20 12:42, Janosch Frank wrote: >> Protected guests save the instruction control blocks in the SIDA >> instead of QEMU/KVM directly accessing the guest's memory. >> >> Let's introduce new functions to access the SIDA. > > "The new memops are av

Re: [PATCH v6 08/18] s390x: Add SIDA memory ops

2020-03-04 Thread David Hildenbrand
On 04.03.20 12:42, Janosch Frank wrote: > Protected guests save the instruction control blocks in the SIDA > instead of QEMU/KVM directly accessing the guest's memory. > > Let's introduce new functions to access the SIDA. "The new memops are available with KVM_CAP_S390_PROTECTED, so let's check f

[PATCH v6 08/18] s390x: Add SIDA memory ops

2020-03-04 Thread Janosch Frank
Protected guests save the instruction control blocks in the SIDA instead of QEMU/KVM directly accessing the guest's memory. Let's introduce new functions to access the SIDA. Signed-off-by: Janosch Frank --- linux-headers/linux/kvm.h | 2 ++ target/s390x/cpu.h| 7 ++- target/s390x/