Skip to content

Commit d0e9f4c

Browse files
committed
tools headers kvm: Sync uapi/linux/kvm.h with the kernel sources
The changes in 5e62493 ("x86/headers/UAPI: Move DISABLE_EXITS KVM capability bits to the UAPI") do not requires changes in the tooling nor will trigger the automatic update of used ioctl string tables, copy it to silence this build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h' Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: KarimAllah Ahmed <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Radim Krčmář <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 605e71c commit d0e9f4c

File tree

1 file changed

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

1 file changed

+7
-0
lines changed

tools/include/uapi/linux/kvm.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,13 @@ struct kvm_ioeventfd {
676676
__u8 pad[36];
677677
};
678678

679+
#define KVM_X86_DISABLE_EXITS_MWAIT (1 << 0)
680+
#define KVM_X86_DISABLE_EXITS_HTL (1 << 1)
681+
#define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2)
682+
#define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \
683+
KVM_X86_DISABLE_EXITS_HTL | \
684+
KVM_X86_DISABLE_EXITS_PAUSE)
685+
679686
/* for KVM_ENABLE_CAP */
680687
struct kvm_enable_cap {
681688
/* in */

0 commit comments

Comments
 (0)