machine: Make possible_cpu_arch_ids() return const pointer
make sure that external callers won't try to modify possible_cpus and owner of possible_cpus can access it directly when it modifies it. Signed-off-by:Igor Mammedov <imammedo@redhat.com> Message-Id: <1484759609-264075-5-git-send-email-imammedo@redhat.com> Reviewed-by:
Eduardo Habkost <ehabkost@redhat.com> Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com>
Showing
- hw/acpi/cpu.c 2 additions, 4 deletionshw/acpi/cpu.c
- hw/acpi/cpu_hotplug.c 1 addition, 3 deletionshw/acpi/cpu_hotplug.c
- hw/i386/acpi-build.c 3 additions, 5 deletionshw/i386/acpi-build.c
- hw/i386/pc.c 3 additions, 7 deletionshw/i386/pc.c
- include/hw/acpi/acpi_dev_interface.h 1 addition, 1 deletioninclude/hw/acpi/acpi_dev_interface.h
- include/hw/boards.h 1 addition, 1 deletioninclude/hw/boards.h
- include/hw/i386/pc.h 1 addition, 1 deletioninclude/hw/i386/pc.h
- stubs/pc_madt_cpu_entry.c 1 addition, 1 deletionstubs/pc_madt_cpu_entry.c
Loading
Please register or sign in to comment