Message ID | 20240125024016.2521244-3-xiaoyao.li@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | i386: Minor fixes for building CPUIDs | expand |
diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c index dff9dedbd761..9758c83693ec 100644 --- a/target/i386/kvm/kvm.c +++ b/target/i386/kvm/kvm.c @@ -1926,10 +1926,6 @@ int kvm_arch_init_vcpu(CPUState *cs) break; } - if (i == 0x1f && j == 64) { - break; - } - c->function = i; c->flags = KVM_CPUID_FLAG_SIGNIFCANT_INDEX; c->index = j;
No such constraint that subleaf index needs to be less than 64. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by:Yang Weijiang <weijiang.yang@intel.com> --- target/i386/kvm/kvm.c | 4 ---- 1 file changed, 4 deletions(-)