commit | 619a17f11069ce3d338e00a621f57dd8dec164c2 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Mar 02 15:56:05 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:57:55 2020 +0100 |
tree | a9be970c3a556c00466e7af7e5d83192bc98ddb9 | |
parent | 68c9a46e9ee8e9f673c7e0d1bbf483a289b5a86f [diff] |
KVM: x86: Refactor loop around do_cpuid_func() to separate helper Move the guts of kvm_dev_ioctl_get_cpuid()'s CPUID func loop to a separate helper to improve code readability and pave the way for future cleanup. No functional change intended. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>