commit | a76733a9875238e271a3fd5778d5596248904f07 | [log] [tgz] |
---|---|---|
author | Xiaoyao Li <xiaoyao.li@intel.com> | Thu Jul 09 12:34:22 2020 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 09 06:49:14 2020 -0400 |
tree | 348f26f3b9770899ef22847b3d77f47536b28c70 | |
parent | 36f37648ca982915918bea001a40172c5b0cb233 [diff] |
KVM: x86: Introduce kvm_check_cpuid() Use kvm_check_cpuid() to validate if userspace provides legal cpuid settings and call it before KVM take any action to update CPUID or update vcpu states based on given CPUID settings. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20200709043426.92712-2-xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>