Skip to content

Commit 6016e03

Browse files
committed
tools headers UAPI: Sync kvm.h headers with the kernel sources
To pick the changes in: 3edd683 ("KVM: x86: Add a capability for GUEST_MAXPHYADDR < HOST_MAXPHYADDR support") 1aa561b ("kvm: x86: Add "last CPU" to some KVM_EXIT information") 23a60f8 ("s390/kvm: diagnose 0x318 sync and reset") 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: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Collin Walling <walling@linux.ibm.com> Cc: Jim Mattson <jmattson@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mohammed Gamal <mgamal@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent fe452fb commit 6016e03

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • tools/include/uapi/linux

‎tools/include/uapi/linux/kvm.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ struct kvm_run {
289289
/* KVM_EXIT_FAIL_ENTRY */
290290
struct {
291291
__u64 hardware_entry_failure_reason;
292+
__u32 cpu;
292293
} fail_entry;
293294
/* KVM_EXIT_EXCEPTION */
294295
struct {
@@ -1031,6 +1032,9 @@ struct kvm_ppc_resize_hpt {
10311032
#define KVM_CAP_PPC_SECURE_GUEST 181
10321033
#define KVM_CAP_HALT_POLL 182
10331034
#define KVM_CAP_ASYNC_PF_INT 183
1035+
#define KVM_CAP_LAST_CPU 184
1036+
#define KVM_CAP_SMALLER_MAXPHYADDR 185
1037+
#define KVM_CAP_S390_DIAG318 186
10341038

10351039
#ifdef KVM_CAP_IRQ_ROUTING
10361040

0 commit comments

Comments
 (0)