mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Add svm cpuid features
This patch adds the svm cpuid feature flags to the qemu intialization path. It also adds the svm features available on phenom to its cpu-definition and extends the host cpu type to support all svm features KVM can provide. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
db0ad1ba04
commit
296acb643b
3 changed files with 75 additions and 17 deletions
|
@ -192,6 +192,9 @@ int kvm_arch_init_vcpu(CPUState *env)
|
|||
0, R_EDX);
|
||||
env->cpuid_ext3_features &= kvm_arch_get_supported_cpuid(env, 0x80000001,
|
||||
0, R_ECX);
|
||||
env->cpuid_svm_features &= kvm_arch_get_supported_cpuid(env, 0x8000000A,
|
||||
0, R_EDX);
|
||||
|
||||
|
||||
cpuid_i = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue