diff options
author | Igor Mammedov <imammedo@redhat.com> | 2016-10-19 14:05:40 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-10-24 17:29:15 -0200 |
commit | 079019f2e319bd1279681b6c1d7dde785d09e69e (patch) | |
tree | 5123158900396de73947e169ee7b8d43835be9f9 /hw/arm | |
parent | a3abd0f28eb863206b4466a5bb484eb0d4025819 (diff) | |
download | qemu-079019f2e319bd1279681b6c1d7dde785d09e69e.zip qemu-079019f2e319bd1279681b6c1d7dde785d09e69e.tar.gz qemu-079019f2e319bd1279681b6c1d7dde785d09e69e.tar.bz2 |
Increase MAX_CPUMASK_BITS from 255 to 288
so that it would be possible to increase maxcpus limit
for x86 target. Keep spapr/virt_arm at limit they used
to have 255.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 895446f..c3a1e92 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1494,7 +1494,7 @@ static void virt_machine_class_init(ObjectClass *oc, void *data) * it later in machvirt_init, where we have more information about the * configuration of the particular instance. */ - mc->max_cpus = MAX_CPUMASK_BITS; + mc->max_cpus = 255; mc->has_dynamic_sysbus = true; mc->block_default_type = IF_VIRTIO; mc->no_cdrom = 1; |