qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 09/19] pc: delay setting number of boot CPUs


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH v3 09/19] pc: delay setting number of boot CPUs to machine_done time
Date: Tue, 12 Jul 2016 15:42:58 +0200

On Tue, 12 Jul 2016 14:48:43 +0200
Igor Mammedov <address@hidden> wrote:

> On Tue, 12 Jul 2016 00:29:08 -0300
> Eduardo Habkost <address@hidden> wrote:
[...] 
> > 1) x86_cpu_realizefn():
> >     if (cpu->env.features[FEAT_1_EDX] & CPUID_APIC || smp_cpus > 1) {
> >             x86_cpu_apic_create(cpu, &local_err);
Usage of smp_cpus here looks incorrect to me, it should be max_cpus.
But we can't make it max_cpus without compat glue as it will break
backwards migration (not that upstream cares about it)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]