Skip to content

Commit d822ca2

Browse files
committed
tools headers UAPI: Sync kvm headers with the kernel sources
To pick the changes in: aa8d1f4 ("KVM: x86/mmu: Introduce a quirk to control memslot zap behavior") That don't change functionality in tools/perf, as no new ioctl is added for the 'perf trace' scripts to harvest. This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/arch/x86/include/uapi/asm/kvm.h arch/x86/include/uapi/asm/kvm.h Please see tools/include/uapi/README for further details. Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Yan Zhao <[email protected]> Link: https://lore.kernel.org/lkml/ZxgN0O02YrAJ2qIC@x1 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 5d35634 commit d822ca2

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ struct kvm_sync_regs {
439439
#define KVM_X86_QUIRK_MISC_ENABLE_NO_MWAIT (1 << 4)
440440
#define KVM_X86_QUIRK_FIX_HYPERCALL_INSN (1 << 5)
441441
#define KVM_X86_QUIRK_MWAIT_NEVER_UD_FAULTS (1 << 6)
442+
#define KVM_X86_QUIRK_SLOT_ZAP_ALL (1 << 7)
442443

443444
#define KVM_STATE_NESTED_FORMAT_VMX 0
444445
#define KVM_STATE_NESTED_FORMAT_SVM 1

0 commit comments

Comments
 (0)