diff options
| author | Igor Mammedov | 2017-02-09 12:08:32 +0100 |
|---|---|---|
| committer | David Gibson | 2017-02-22 01:28:28 +0100 |
| commit | 38690a1ca7cd4771800b1581329f09fafad3f2d6 (patch) | |
| tree | 285069a2a5c66a069ae4141655cfef569c59a573 /include | |
| parent | hw/pci-host/prep: Do not use hw_error() in realize function (diff) | |
| download | qemu-38690a1ca7cd4771800b1581329f09fafad3f2d6.tar.gz qemu-38690a1ca7cd4771800b1581329f09fafad3f2d6.tar.xz qemu-38690a1ca7cd4771800b1581329f09fafad3f2d6.zip | |
machine: move possible_cpus to MachineState
so that it would be possible to reuse it with
spapr/virt-aarch64 targets.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/boards.h | 1 | ||||
| -rw-r--r-- | include/hw/i386/pc.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index ac891a828b..64e8c07b0f 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -178,6 +178,7 @@ struct MachineState { char *initrd_filename; const char *cpu_model; AccelState *accelerator; + CPUArchIdList *possible_cpus; }; #define DEFINE_MACHINE(namestr, machine_initfn) \ diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 079e8d9393..d1f45540a1 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -73,7 +73,6 @@ struct PCMachineState { /* CPU and apic information: */ bool apic_xrupt_override; unsigned apic_id_limit; - CPUArchIdList *possible_cpus; uint16_t boot_cpus; /* NUMA information: */ |
