KVM: selftests: Move GDT, IDT, and TSS fields to x86's kvm_vm_arch
authorSean Christopherson <seanjc@google.com>
Thu, 14 Mar 2024 23:26:22 +0000 (16:26 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 29 Apr 2024 19:55:07 +0000 (12:55 -0700)
commit3a085fbf8228cfcdbf48ded8915618e10226f2e3
tree8d8ffeb5b42d3017e194159af77bac713641c7c8
parentf54884f93898e2e8b62784153a4c12d12a081f96
KVM: selftests: Move GDT, IDT, and TSS fields to x86's kvm_vm_arch

Now that kvm_vm_arch exists, move the GDT, IDT, and TSS fields to x86's
implementation, as the structures are firmly x86-only.

Reviewed-by: Ackerley Tng <ackerleytng@google.com>
Link: https://lore.kernel.org/r/20240314232637.2538648-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/include/x86_64/kvm_util_arch.h
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/svm_nested_shutdown_test.c
tools/testing/selftests/kvm/x86_64/svm_nested_soft_inject_test.c