]> git.baikalelectronics.ru Git - kernel.git/commit
tools headers UAPI: Sync linux/kvm.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 May 2021 12:39:02 +0000 (09:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2021 12:01:00 +0000 (09:01 -0300)
commitc61ac5d5ad4f78865a1cd811993ca7a82044ebea
treefd4a96b384941b11abaa8ef44da01e7b82932fad
parent84470d8e647a8f092640f1a421648a518d30d74d
tools headers UAPI: Sync linux/kvm.h with the kernel sources

To pick the changes in:

  34422910ba181f71 ("KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command")
  b39409497093294a ("KVM: arm64: Add support for the KVM PTP service")
  86e435d780581dd1 ("KVM: SVM: Add KVM_SEV SEND_START command")
  90d0c700aaf037b8 ("KVM: x86: Support KVM VMs sharing SEV context")
  3a7f6347a68307b2 ("KVM: SVM: Add support for KVM_SEV_SEND_CANCEL command")
  9b7c382a5f2e7664 ("KVM: introduce KVM_CAP_SET_GUEST_DEBUG2")
  53a263e737514280 ("KVM: SVM: Add support for KVM_SEV_RECEIVE_START command")
  1d520dec34f3d4d0 ("KVM: SVM: Add KVM_SEND_UPDATE_DATA command")
  912792a581360931 ("KVM: x86: Add capability to grant VM access to privileged SGX attribute")

That don't cause any change in tooling as it doesn't introduce any new
ioctl.

  $ grep kvm tools/perf/trace/beauty/*.sh
  tools/perf/trace/beauty/kvm_ioctl.sh:printf "static const char *kvm_ioctl_cmds[] = {\n"
  tools/perf/trace/beauty/kvm_ioctl.sh:egrep $regex ${header_dir}/kvm.h | \
  $
  $ tools/perf/trace/beauty/kvm_ioctl.sh > before
  $ cp include/uapi/linux/kvm.h tools/include/uapi/linux/kvm.h
  $ tools/perf/trace/beauty/kvm_ioctl.sh > after
  $ diff -u before after
  $

This silences this 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: Brijesh Singh <brijesh.singh@amd.com>
Cc: Jianyong Wu <jianyong.wu@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Nathan Tempelman <natet@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Steve Rutherford <srutherford@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/kvm.h