diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-03-18 16:29:24 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-03-19 13:24:29 +0200 |
commit | af67ee9264c135f4b213b4bc1a3871c4e9ec7da3 (patch) | |
tree | 791568596d5e8df4a4ed05f6a6f377a78ab4d5a8 | |
parent | d2995916ea262bca40788f275c7f53f1c0a0b606 (diff) |
vl.c: Use MAX_CPUMASK_BITS macro instead of hardcoded constant
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1413,7 +1413,7 @@ static void smp_parse(QemuOpts *opts) max_cpus = smp_cpus; } - if (max_cpus > 255) { + if (max_cpus > MAX_CPUMASK_BITS) { fprintf(stderr, "Unsupported number of maxcpus\n"); exit(1); } |