aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/x86_64/vmx.c
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2022-05-20 23:32:41 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-09 10:52:23 -0400
commitb8ca01ea19068b54938ebb4ebc06814a89dee8ea (patch)
treea49791db3fc91f163572a8ce242e0cb06c40fbc5 /tools/testing/selftests/kvm/lib/x86_64/vmx.c
parentKVM: selftests: Add option to create 2M and 1G EPT mappings (diff)
downloadlinux-dev-b8ca01ea19068b54938ebb4ebc06814a89dee8ea.tar.xz
linux-dev-b8ca01ea19068b54938ebb4ebc06814a89dee8ea.zip
KVM: selftests: Drop stale function parameter comment for nested_map()
nested_map() does not take a parameter named eptp_memslot. Drop the comment referring to it. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: David Matlack <dmatlack@google.com> Message-Id: <20220520233249.3776001-4-dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/x86_64/vmx.c')
-rw-r--r--tools/testing/selftests/kvm/lib/x86_64/vmx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/lib/x86_64/vmx.c b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
index fdc1e6deb922..baeaa35de113 100644
--- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
@@ -486,7 +486,6 @@ void nested_pg_map(struct vmx_pages *vmx, struct kvm_vm *vm,
* nested_paddr - Nested guest physical address to map
* paddr - VM Physical Address
* size - The size of the range to map
- * eptp_memslot - Memory region slot for new virtual translation tables
*
* Output Args: None
*