diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2020-07-09 12:34:22 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-09 06:49:14 -0400 |
commit | a76733a9875238e271a3fd5778d5596248904f07 (patch) | |
tree | 348f26f3b9770899ef22847b3d77f47536b28c70 /arch/x86/kvm/x86.c | |
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>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions