History

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini: - Check for invalid flags to KVM_CAP_X86_USER_SPACE_MSR - Fix use of sched_setaffinity in selftests - Sync kernel headers to tools - Fix KVM_STATS_UNIT_MAX * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: KVM: x86: Protect the unused bits in MSR exiting flags tools headers UAPI: Sync linux/kvm.h with the kernel sources KVM: selftests: Fix target thread to be migrated in rseq_test KVM: stats: Fix value for KVM_STATS_UNIT_MAX for boolean stats

Linus Torvalds committed 4 years ago

Commit 515f7142 parents 301c894 cf5029d5 files · +16 −6Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−1
@@ -2084,7 +2084,7 @@ struct kvm_stats_header { · 2083 unmodified lines
20842084 #define KVM_STATS_UNIT_SECONDS (0x2 << KVM_STATS_UNIT_SHIFT)
20852085 #define KVM_STATS_UNIT_CYCLES (0x3 << KVM_STATS_UNIT_SHIFT)
20862086 #define KVM_STATS_UNIT_BOOLEAN (0x4 << KVM_STATS_UNIT_SHIFT)
2087−#define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_CYCLES
2087+#define KVM_STATS_UNIT_MAX KVM_STATS_UNIT_BOOLEAN
20882088
20892089 #define KVM_STATS_BASE_SHIFT 8
20902090 #define KVM_STATS_BASE_MASK (0xF << KVM_STATS_BASE_SHIFT)