summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2025-10-29 01:30:39 +0300
committerSean Christopherson <seanjc@google.com>2025-11-21 03:19:59 +0300
commitae5b498b8da96749cdad7b5a013053d17d815a6e (patch)
treeeeb31922bc1f45dec5d6c256c94ef9153b2bb2eb /scripts/patch-kernel
parentff736dba478c2bcf8c8c8328ff8936b1e6d65e81 (diff)
downloadlinux-ae5b498b8da96749cdad7b5a013053d17d815a6e.tar.xz
KVM: selftests: Use a loop to create guest page tables
Walk the guest page tables via a loop when creating new mappings, instead of using unique variables for each level of the page tables. This simplifies the code and makes it easier to support 5-level paging in the future. Signed-off-by: Jim Mattson <jmattson@google.com> Reviewed-by: Yosry Ahmed <yosry.ahmed@linux.dev> Link: https://patch.msgid.link/20251028225827.2269128-2-jmattson@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions