x86: vmx: Fix comment typo for ept_access_paddr()
PATCH 1/1 x86: vmx: Fix comment typo for ept_access_paddr()
the comment for ept_access_paddr() referred to a nonexistent ept_access_data. Fixing the comment to correctly refer to ept_access_test_data.
Signed-off-by Oliver Upton <[email protected]>
--- x86/vmx_tests.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
x86/vmx_tests.c +3 -2
@@ -2471,13 +2471,14 @@ static void ept_access_violation(unsigned long access, enum ept_access_op op,* with wonky addresses. We don't test that yet. * * This function modifies the EPT entry that maps the GPA that the guest page -* table entry mapping ept_access_data.gva resides on. +* table entry mapping ept_access_test_data.gva resides on. * * @ept_access EPT permissions to set. Other permissions are cleared. * * @pte_ad Set the A/D bits on the guest PTE accordingly. * -* @op Guest operation to perform with ept_access_data.gva. +* @op Guest operation to perform with +* ept_access_test_data.gva. * * @expect_violation * Is a violation expected during the paddr access?
Signature · 1 line
2.22.0.770.g0f2c4a37fd-goog