Skip to content

Commit 8026a31

Browse files
committed
tools headers UAPI: Sync linux/kvm.h with the kernel sources
To pick the changes in: b0305c1 ("KVM: x86/xen: Add KVM_XEN_INVALID_GPA and KVM_XEN_INVALID_GFN to uapi") That just rebuilds perf, as these patches don't add any new KVM ioctl to be harvested for the the 'perf trace' ioctl syscall argument beautifiers. This silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h' diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h Cc: Adrian Hunter <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paolo Bonzini <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c1649ec commit 8026a31

File tree

1 file changed

+3
-0
lines changed
  • tools/include/uapi/linux

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/kvm.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,7 @@ struct kvm_xen_hvm_attr {
17671767
__u8 runstate_update_flag;
17681768
struct {
17691769
__u64 gfn;
1770+
#define KVM_XEN_INVALID_GFN ((__u64)-1)
17701771
} shared_info;
17711772
struct {
17721773
__u32 send_port;
@@ -1798,6 +1799,7 @@ struct kvm_xen_hvm_attr {
17981799
} u;
17991800
};
18001801

1802+
18011803
/* Available with KVM_CAP_XEN_HVM / KVM_XEN_HVM_CONFIG_SHARED_INFO */
18021804
#define KVM_XEN_ATTR_TYPE_LONG_MODE 0x0
18031805
#define KVM_XEN_ATTR_TYPE_SHARED_INFO 0x1
@@ -1823,6 +1825,7 @@ struct kvm_xen_vcpu_attr {
18231825
__u16 pad[3];
18241826
union {
18251827
__u64 gpa;
1828+
#define KVM_XEN_INVALID_GPA ((__u64)-1)
18261829
__u64 pad[8];
18271830
struct {
18281831
__u64 state;

0 commit comments

Comments
 (0)