qemu-irix/include/hw
Igor Mammedov 3811ef14f5 machine: introduce MachineClass.possible_cpu_arch_ids() hook
on x86 currently range 0..max_cpus is used to generate
architecture-dependent CPU ID (APIC Id) for each present
and possible CPUs. However architecture-dependent CPU IDs
list could be sparse and code that needs to enumerate
all IDs (ACPI) ended up doing guess work enumerating all
possible and impossible IDs up to
  apic_id_limit = x86_cpu_apic_id_from_index(max_cpus).

That leads to creation of MADT entries and Processor
objects in ACPI tables for not possible CPUs.
Fix it by allowing board specify a concrete list of
CPU IDs accourding its own rules (which for x86 depends
on topology). So that code that needs this list could
request it from board instead of trying to guess
what IDs are correct on its own.

This interface will also allow to help making AML
part of CPU hotplug target independent so it could
be reused for ARM target.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
2016-03-11 16:59:12 +02:00
..
acpi acpi: add build_append_named_dword, returning an offset in buffer 2016-03-11 14:54:28 +02:00
arm arm: boot: Support big-endian elfs 2016-03-04 11:30:21 +00:00
audio
block fdc: add function to determine drive chs limits 2016-03-11 14:55:15 +02:00
char
cpu
cris
gpio
i2c
i386 machine: introduce MachineClass.possible_cpu_arch_ids() hook 2016-03-11 16:59:12 +02:00
input cuda: port SET_DEVICE_LIST command to new framework 2016-02-17 09:59:30 +11:00
intc bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
ipack
ipmi ipmi: introduce a struct ipmi_sdr_compact 2016-02-06 20:44:09 +02:00
isa include: Clean up includes 2016-02-23 12:43:05 +00:00
kvm
lm32
m68k
mem nvdimm acpi: emulate dsm method 2016-03-11 16:59:11 +02:00
mips
misc bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
net
nvram fw_cfg: expose control register size in fw_cfg.h 2016-03-08 10:46:30 +01:00
pci msi_supported -> msi_nonbroken 2016-03-11 16:45:21 +02:00
pci-host
ppc xics: report errors with the QEMU Error API 2016-02-28 16:19:02 +11:00
s390x
scsi scsi-generic: grab device and port SAS addresses from backend 2016-02-09 15:45:26 +01:00
sd sdhci: add quirk property for card insert interrupt status on Raspberry Pi 2016-02-26 15:09:42 +00:00
sh4
smbios
sparc
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer
tricore
unicore32
usb
vfio hw/vfio/platform: amd-xgbe device 2016-02-19 09:42:29 -07:00
virtio vhost, virtio, pci, pc 2016-02-25 12:13:49 +00:00
watchdog
xen include: Clean up includes 2016-02-23 12:43:05 +00:00
boards.h machine: introduce MachineClass.possible_cpu_arch_ids() hook 2016-03-11 16:59:12 +02:00
bt.h
compat.h fw_cfg: unbreak migration compatibility for 2.4 and earlier machines 2016-02-26 10:06:40 +01:00
devices.h
elf_ops.h loader: Add data swap option to load-elf 2016-03-04 11:30:21 +00:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h vmstate: define vmstate_info_uinttl 2016-01-16 12:01:23 +00:00
ide.h
irq.h
loader.h loader: Add data swap option to load-elf 2016-03-04 11:30:21 +00:00
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h include: Clean up includes 2016-02-23 12:43:05 +00:00
qdev-dma.h
qdev-properties.h fdc: Add fallback option 2016-01-25 14:35:23 -05:00
qdev.h
stream.h
sysbus.h
usb.h