KVM: selftests: Fix the meta info of test cases in the header comments
PATCH 1/1 KVM: selftests: Fix the meta info of test cases in the header comments
From: Like Xu <[email protected]>
Fix test case names (including descriptions) in comments for tsc_scaling_sync and xen_shinfo_test. No functional changes intended.
Fixes e467b0de82b2 ("KVM: x86: Test case for TSC scaling and offset sync")
Fixes 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case")
Signed-off-by Like Xu <[email protected]>
--- tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ++-- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +2 -2
@@ -1,10 +1,10 @@// SPDX-License-Identifier: GPL-2.0-only /* -* svm_vmcall_test +* tsc_scaling_sync * * Copyright © 2021 Amazon.com, Inc. or its affiliates. * -* Xen shared_info / pvclock testing +* Test case for TSC scaling and offset sync */ #include "test_util.h"
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +1 -1
@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0-only /* -* svm_vmcall_test +* xen_shinfo_test * * Copyright © 2021 Amazon.com, Inc. or its affiliates. *
base-commit: 88bb466c9dec4f70d682cf38c685324e7b1b3d60
Signature · 1 line
2.32.0
Sean Christopherson
reviewerQuoted 18 lines · Like Xu
From: Like Xu <[email protected]>
Fix test case names (including descriptions) in comments for
tsc_scaling_syncandxen_shinfo_test. No functional changes intended.Fixes e467b0de82b2 ("KVM: x86: Test case for TSC scaling and offset sync")Fixes 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case")Signed-off-by Like Xu <[email protected]>--- tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ++-- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +0
-0
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c line 7
Quoted 9 lines
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +2
-2@@ -1,10 +1,10 @@// SPDX-License-Identifier: GPL-2.0-only /* -* svm_vmcall_test +* tsc_scaling_sync * * Copyright � 2021 Amazon.com, Inc. or its affiliates. * -* Xen shared_info / pvclock testing +* Test case for TSC scaling and offset sync
I vote to delete the metadata (but leave the Copyright). IMO it adds zero value, and has a non-zero chance of becoming stale in the future.
Quoted 20 lines
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +0
-0*/ #include "test_util.h" tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +1
-1@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0-only /* -* svm_vmcall_test +* xen_shinfo_test * * Copyright � 2021 Amazon.com, Inc. or its affiliates. * base-commit:
88bb466c9dec4f70d682cf38c685324e7b1b3d60Signature · 1 line
2.32.0