Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers UAPI: Sync kvm.h headers with the kernel sources

To pick the changes in:

15e9e35cd1dec2bc ("KVM: MIPS: Change the definition of kvm type")
004a01241c5a0d37 ("arm64/x86: KVM: Introduce steal-time cap")

That do not result in any change in tooling, as the additions are not
being used in any table generator.

This silences these 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 <adrian.hunter@intel.com>
Cc: Andrew Jones <drjones@redhat.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+4 -2
+4 -2
tools/include/uapi/linux/kvm.h
··· 790 790 #define KVM_VM_PPC_HV 1 791 791 #define KVM_VM_PPC_PR 2 792 792 793 - /* on MIPS, 0 forces trap & emulate, 1 forces VZ ASE */ 794 - #define KVM_VM_MIPS_TE 0 793 + /* on MIPS, 0 indicates auto, 1 forces VZ ASE, 2 forces trap & emulate */ 794 + #define KVM_VM_MIPS_AUTO 0 795 795 #define KVM_VM_MIPS_VZ 1 796 + #define KVM_VM_MIPS_TE 2 796 797 797 798 #define KVM_S390_SIE_PAGE_OFFSET 1 798 799 ··· 1036 1035 #define KVM_CAP_LAST_CPU 184 1037 1036 #define KVM_CAP_SMALLER_MAXPHYADDR 185 1038 1037 #define KVM_CAP_S390_DIAG318 186 1038 + #define KVM_CAP_STEAL_TIME 187 1039 1039 1040 1040 #ifdef KVM_CAP_IRQ_ROUTING 1041 1041