Skip to content

Commit eea085d

Browse files
committed
tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
To pick the changes in: 2f4073e ("KVM: VMX: Enable Notify VM exit") That makes 'perf kvm-stat' aware of this new NOTIFY exit reason, thus addressing the following perf build warning: Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h' differs from latest version at 'arch/x86/include/uapi/asm/vmx.h' diff -u tools/arch/x86/include/uapi/asm/vmx.h arch/x86/include/uapi/asm/vmx.h Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Tao Xu <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 898d240 commit eea085d

File tree

1 file changed

+3
-1
lines changed
  • tools/arch/x86/include/uapi/asm

1 file changed

+3
-1
lines changed

tools/arch/x86/include/uapi/asm/vmx.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
#define EXIT_REASON_UMWAIT 67
9292
#define EXIT_REASON_TPAUSE 68
9393
#define EXIT_REASON_BUS_LOCK 74
94+
#define EXIT_REASON_NOTIFY 75
9495

9596
#define VMX_EXIT_REASONS \
9697
{ EXIT_REASON_EXCEPTION_NMI, "EXCEPTION_NMI" }, \
@@ -153,7 +154,8 @@
153154
{ EXIT_REASON_XRSTORS, "XRSTORS" }, \
154155
{ EXIT_REASON_UMWAIT, "UMWAIT" }, \
155156
{ EXIT_REASON_TPAUSE, "TPAUSE" }, \
156-
{ EXIT_REASON_BUS_LOCK, "BUS_LOCK" }
157+
{ EXIT_REASON_BUS_LOCK, "BUS_LOCK" }, \
158+
{ EXIT_REASON_NOTIFY, "NOTIFY" }
157159

158160
#define VMX_EXIT_REASON_FLAGS \
159161
{ VMX_EXIT_REASONS_FAILED_VMENTRY, "FAILED_VMENTRY" }

0 commit comments

Comments
 (0)