Revert "KVM: selftests: Fix nested SVM tests when built with clang"
authorSean Christopherson <seanjc@google.com>
Wed, 28 Sep 2022 23:36:52 +0000 (23:36 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Sep 2022 10:39:34 +0000 (06:39 -0400)
commitc96409d1e58905bfc8c73b630481228382ab8846
treee7c4c95dab7982359aaa403ffc3386fcc2c42804
parent53c9bdb922f40a7abf3b1642f8a39d3b94d10d62
Revert "KVM: selftests: Fix nested SVM tests when built with clang"

Revert back to using memset() in generic_svm_setup() now that KVM
selftests override memset() and friends specifically to prevent the
compiler from generating fancy code and/or linking to the libc
implementation.

This reverts commit ed290e1c20da19fa100a3e0f421aa31b65984960.

Suggested-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220928233652.783504-8-seanjc@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/x86_64/svm.c