KVM: selftests: Use kernel's list instead of homebrewed replacement
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 10 Apr 2020 23:16:59 +0000 (16:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:42 +0000 (12:08 -0400)
commit4d9bba9007167074504187d27fd80352eb3a04e7
tree6b37637b38db8c630f7bd5bfd3bb79781cba2db2
parent238022ff5d05f6cdceac67c03a66cc28a6cb30c9
KVM: selftests: Use kernel's list instead of homebrewed replacement

Replace the KVM selftests' homebrewed linked lists for vCPUs and memory
regions with the kernel's 'struct list_head'.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20200410231707.7128-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/kvm_util_internal.h
tools/testing/selftests/kvm/lib/s390x/processor.c