diff options
author | Sean Christopherson <seanjc@google.com> | 2024-02-08 21:48:39 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-28 20:58:05 +0000 |
commit | 53a43dd48f8e5e9cc046f14506a11250efc46bf6 (patch) | |
tree | 43752a24331bbfb534b2fc73409f9d1e10e396dd /CREDITS | |
parent | 221d65449453846bbf6801d0ecf7dfdf4f413ad9 (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 <thuth@redhat.com>
Link: https://lore.kernel.org/r/20240208204844.119326-4-thuth@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions