On Mon, 16 Mar 2015 09:51:45 +0100 Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote: > From: "Jason J. Herne" <jjherne@xxxxxxxxxxxxxxxxxx> > > Provide the KVM_S390_GET_SKEYS and KVM_S390_SET_SKEYS ioctl which can be used > to get/set guest storage keys. This functionality is needed for live migration > of s390 guests that use storage keys. > > Signed-off-by: Jason J. Herne <jjherne@xxxxxxxxxxxxxxxxxx> > Reviewed-by: David Hildenbrand <dahi@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > --- > Documentation/virtual/kvm/api.txt | 58 ++++++++++++++++++ > arch/s390/kvm/kvm-s390.c | 122 ++++++++++++++++++++++++++++++++++++++ > include/uapi/linux/kvm.h | 14 +++++ > 3 files changed, 194 insertions(+) > > @@ -791,6 +801,7 @@ struct kvm_ppc_smmu_info { > #define KVM_CAP_S390_VECTOR_REGISTERS 107 > #define KVM_CAP_S390_MEM_OP 108 > #define KVM_CAP_S390_USER_STSI 109 > +#define KVM_CAP_S390_SKEYS 110 Hm... did you forget to actually advertise this cap? > > #ifdef KVM_CAP_IRQ_ROUTING > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html