diff options
| author | Eduardo Habkost | 2015-02-09 20:28:52 +0100 |
|---|---|---|
| committer | Eduardo Habkost | 2015-03-19 20:01:22 +0100 |
| commit | 8979c945c1a7ffd20edbd5da2513c04baccfd7de (patch) | |
| tree | b78b1f1e65e60c0f73565a625d65f931294abdb4 /scripts | |
| parent | numa: Fix off-by-one error at MAX_CPUMASK_BITS check (diff) | |
| download | qemu-8979c945c1a7ffd20edbd5da2513c04baccfd7de.tar.gz qemu-8979c945c1a7ffd20edbd5da2513c04baccfd7de.tar.xz qemu-8979c945c1a7ffd20edbd5da2513c04baccfd7de.zip | |
numa: Reject CPU indexes > max_cpus
CPU index is always less than max_cpus, as documented at sysemu.h:
> The following shall be true for all CPUs:
> cpu->cpu_index < max_cpus <= MAX_CPUMASK_BITS
Reject configuration which uses invalid CPU indexes.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
