aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/pgtable.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-02-08 21:48:39 +0100
committerSean Christopherson <[email protected]>2024-02-28 20:58:05 +0000
commit53a43dd48f8e5e9cc046f14506a11250efc46bf6 (patch)
tree43752a24331bbfb534b2fc73409f9d1e10e396dd /scripts/gdb/linux/pgtable.py
parent221d65449453846bbf6801d0ecf7dfdf4f413ad9 (diff)
KVM: selftests: Move setting a vCPU's entry point to a dedicated API
Extract the code to set a vCPU's entry point out of vm_arch_vcpu_add() and into a new API, vcpu_arch_set_entry_point(). Providing a separate API will allow creating a KVM selftests hardness that can handle tests that use different entry points for sub-tests, whereas *requiring* the entry point to be specified at vCPU creation makes it difficult to create a generic harness, e.g. the boilerplate setup/teardown can't easily create and destroy the VM and vCPUs. Signed-off-by: Thomas Huth <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions