* [PATCH] kvm: fix minor typos in x86/kvm.h and selftests/processor.c
@ 2021-03-30 19:30 Emanuele Giuseppe Esposito
0 siblings, 0 replies; only message in thread
From: Emanuele Giuseppe Esposito @ 2021-03-30 19:30 UTC (permalink / raw)
To: kvm
Cc: Paolo Bonzini, Vitaly Kuznetsov, Andrew Jones, linux-kernel,
linux-kselftest
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
---
tools/arch/x86/include/uapi/asm/kvm.h | 2 +-
tools/testing/selftests/kvm/lib/x86_64/processor.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/arch/x86/include/uapi/asm/kvm.h b/tools/arch/x86/include/uapi/asm/kvm.h
index 5a3022c8af82..e00d44bc5f55 100644
--- a/tools/arch/x86/include/uapi/asm/kvm.h
+++ b/tools/arch/x86/include/uapi/asm/kvm.h
@@ -190,7 +190,7 @@ struct kvm_msrs {
/* for KVM_GET_MSR_INDEX_LIST */
struct kvm_msr_list {
- __u32 nmsrs; /* number of msrs in entries */
+ __u32 nmsrs; /* number of msrs in indices */
__u32 indices[0];
};
diff --git a/tools/testing/selftests/kvm/lib/x86_64/processor.c b/tools/testing/selftests/kvm/lib/x86_64/processor.c
index a8906e60a108..e676fe40bfe6 100644
--- a/tools/testing/selftests/kvm/lib/x86_64/processor.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/processor.c
@@ -714,7 +714,7 @@ uint64_t kvm_get_feature_msr(uint64_t msr_index)
*
* Return: KVM CPUID (KVM_GET_CPUID2)
*
- * Set the VCPU's CPUID.
+ * Get the VCPU's CPUID.
*/
struct kvm_cpuid2 *vcpu_get_cpuid(struct kvm_vm *vm, uint32_t vcpuid)
{
--
2.30.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-30 19:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 19:30 [PATCH] kvm: fix minor typos in x86/kvm.h and selftests/processor.c Emanuele Giuseppe Esposito
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).