summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2022-01-28 15:40:25 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-31 09:21:56 -0500
commitf6c6804c43fa18d3cee64b55490dfbd3bef1363a (patch)
tree7e7dfe9de724b4c9bf6a9b508c4bf7b616d3a05d /include
parent17179d0068b20413de2355f84c75a93740257e20 (diff)
downloadlinux-stable-f6c6804c43fa18d3cee64b55490dfbd3bef1363a.tar.gz
linux-stable-f6c6804c43fa18d3cee64b55490dfbd3bef1363a.tar.bz2
linux-stable-f6c6804c43fa18d3cee64b55490dfbd3bef1363a.zip
kvm: Move KVM_GET_XSAVE2 IOCTL definition at the end of kvm.h
This way we can more easily find the next free IOCTL number when adding new IOCTLs. Fixes: be50b2065dfa ("kvm: x86: Add support for getting/setting expanded xstate buffer") Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Message-Id: <20220128154025.102666-1-frankja@linux.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/kvm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index b46bcdb0cab1..5191b57e1562 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -1624,9 +1624,6 @@ struct kvm_enc_region {
#define KVM_S390_NORMAL_RESET _IO(KVMIO, 0xc3)
#define KVM_S390_CLEAR_RESET _IO(KVMIO, 0xc4)
-/* Available with KVM_CAP_XSAVE2 */
-#define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
-
struct kvm_s390_pv_sec_parm {
__u64 origin;
__u64 length;
@@ -2048,4 +2045,7 @@ struct kvm_stats_desc {
#define KVM_GET_STATS_FD _IO(KVMIO, 0xce)
+/* Available with KVM_CAP_XSAVE2 */
+#define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
+
#endif /* __LINUX_KVM_H */