mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-02 04:41:10 -04:00
tools headers UAPI: Sync linux/kvm.h with the kernel sources
To pick the changes in:
da142f3d37 ("KVM: Remove subtle "struct kvm_stats_desc" pseudo-overlay")
That just rebuilds perf, as these patches don't add any new KVM ioctl to
be harvested for the 'perf trace' ioctl syscall argument beautifiers.
This addresses this perf build warning:
Warning: Kernel ABI header differences:
diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
Please see tools/include/uapi/README for further details.
Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user