Skip to contentSkip to conversation

KVM: selftests: Remove obsolete and incorrect test case metadata

PATCH In review Like Xu 2 participants 2 messages Sep 14, 2023 – Oct 5, 2023

Subsystems (2)
lore
Share & tools
lore

Like Xu

author
#0 lore raw

PATCH v2 1/1 KVM: selftests: Remove obsolete and incorrect test case metadata

From: Like Xu <[email protected]>

Delete inaccurate descriptions and obsolete metadata for test cases. It adds zero value, and has a non-zero chance of becoming stale and misleading in the future. No functional changes intended.

---
V1:
https://lore.kernel.org/kvm/[email protected]/
V1 -> V2 Changelog:
- Delete the incorrect metadata instead of fix; (Sean)
- More selftests related files are covered;

 tools/testing/selftests/kvm/include/ucall_common.h       | 2 --
 tools/testing/selftests/kvm/lib/x86_64/apic.c            | 2 --
 tools/testing/selftests/kvm/x86_64/hyperv_svm_test.c     | 2 --
 tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c  | 2 --
 tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.sh | 1 -
 tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c    | 4 ----
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c     | 4 ----
 7 files changed, 17 deletions(-)
tools/testing/selftests/kvm/include/ucall_common.h +0 -2
index 112bc1da732a..ce33d306c2cb 100644
@@ -1,7 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
- * tools/testing/selftests/kvm/include/kvm_util.h
- *
  * Copyright (C) 2018, Google LLC.
  */
 #ifndef SELFTEST_KVM_UCALL_COMMON_H
tools/testing/selftests/kvm/lib/x86_64/apic.c +0 -2
index 7168e25c194e..89153a333e83 100644
@@ -1,7 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * tools/testing/selftests/kvm/lib/x86_64/processor.c
- *
  * Copyright (C) 2021, Google LLC.
  */
 
tools/testing/selftests/kvm/x86_64/hyperv_svm_test.c +0 -2
index e446d76d1c0c..6c1278562090 100644
@@ -1,7 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * KVM_GET/SET_* tests
- *
  * Copyright (C) 2022, Red Hat, Inc.
  *
  * Tests for Hyper-V extensions to SVM.
tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.c +0 -2
index 7f36c32fa760..18ac5c1952a3 100644
@@ -1,7 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * tools/testing/selftests/kvm/nx_huge_page_test.c
- *
  * Usage: to be run via nx_huge_page_test.sh, which does the necessary
  * environment setup and teardown
  *
tools/testing/selftests/kvm/x86_64/nx_huge_pages_test.sh +0 -1
index 0560149e66ed..7cbb409801ee 100755
@@ -4,7 +4,6 @@
 # Wrapper script which performs setup and cleanup for nx_huge_pages_test.
 # Makes use of root privileges to set up huge pages and KVM module parameters.
 #
-# tools/testing/selftests/kvm/nx_huge_page_test.sh
 # Copyright (C) 2022, Google LLC.
 
 set -e
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +0 -4
index 5b669818e39a..59c7304f805e 100644
@@ -1,10 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
- *
  * Copyright © 2021 Amazon.com, Inc. or its affiliates.
- *
- * Xen shared_info / pvclock testing
  */
 
 #include "test_util.h"
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +0 -4
index 05898ad9f4d9..9ec9ab60b63e 100644
@@ -1,10 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
- *
  * Copyright © 2021 Amazon.com, Inc. or its affiliates.
- *
- * Xen shared_info / pvclock testing
  */
 
 #include "test_util.h"

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d

Signature · 1 line
2.42.0