diff options
author | Sean Christopherson <seanjc@google.com> | 2021-11-05 09:51:00 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-11 10:56:21 -0500 |
commit | 8b44b174f6aca815fc84c2038e4523ef8e32fabb (patch) | |
tree | 1e09065c54aae2b4609ef4da730a18be3e4271b5 /arch/x86/kernel | |
parent | 10c30de0192183034ba1b3014895b7f95d093785 (diff) |
KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
Move the core logic of SET_CPUID and SET_CPUID2 to a common helper, the
only difference between the two ioctls() is the format of the userspace
struct. A future fix will add yet more code to the core logic.
No functional change intended.
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211105095101.5384-2-pdurrant@amazon.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions