Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684302

[PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition

From Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Newsgroups linux.kernel
Subject [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition
Date 2017-07-10 16:50 +0200
Message-ID <u1IaB-6eJ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This ioctl actually writes to parameter too.

Fixes: 4036e387 ("KVM: s390: ioctls to get and set guest storage attributes")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
---
 include/uapi/linux/kvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index c0b6dfe..ebd604c 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1351,7 +1351,7 @@ struct kvm_s390_ucas_mapping {
 /* Available with KVM_CAP_X86_SMM */
 #define KVM_SMI                   _IO(KVMIO,   0xb7)
 /* Available with KVM_CAP_S390_CMMA_MIGRATION */
-#define KVM_S390_GET_CMMA_BITS      _IOW(KVMIO, 0xb8, struct kvm_s390_cmma_log)
+#define KVM_S390_GET_CMMA_BITS      _IOWR(KVMIO, 0xb8, struct kvm_s390_cmma_log)
 #define KVM_S390_SET_CMMA_BITS      _IOW(KVMIO, 0xb9, struct kvm_s390_cmma_log)
 
 #define KVM_DEV_ASSIGN_ENABLE_IOMMU	(1 << 0)
-- 
glebfm

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> - 2017-07-10 16:50 +0200
  Re: [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Christian Borntraeger <borntraeger@de.ibm.com> - 2017-07-10 20:50 +0200
    Re: [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> - 2017-07-10 23:30 +0200
      Re: [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Christian Borntraeger <borntraeger@de.ibm.com> - 2017-07-11 10:30 +0200
        Re: [PATCH] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Radim Krčmář <rkrcmar@redhat.com> - 2017-07-11 16:30 +0200
    [PATCH v2] KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> - 2017-07-10 23:30 +0200

csiph-web