summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-23 11:59:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-23 11:59:16 +0300
commit6872c84dc6f5d18e02ebc34b257f4152895e236c (patch)
tree10d75124b78b4ad2a244c9853a7712dde2315d4b /include/uapi
parenteb3b0d92c9c39890592cca6647601fe5c631efea (diff)
parentc369299895a591d96745d6492d4888259b004a9e (diff)
downloadlinux-6872c84dc6f5d18e02ebc34b257f4152895e236c.tar.xz
Merge 7.0-rc5 into tty-next
We need the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/kvm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 65500f5db379..80364d4dbebb 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -14,6 +14,10 @@
#include <linux/ioctl.h>
#include <asm/kvm.h>
+#ifdef __KERNEL__
+#include <linux/kvm_types.h>
+#endif
+
#define KVM_API_VERSION 12
/*
@@ -1601,7 +1605,11 @@ struct kvm_stats_desc {
__u16 size;
__u32 offset;
__u32 bucket_size;
+#ifdef __KERNEL__
+ char name[KVM_STATS_NAME_SIZE];
+#else
char name[];
+#endif
};
#define KVM_GET_STATS_FD _IO(KVMIO, 0xce)