mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
pc: fix FW_CFG_NB_CPUS to account for -device added CPUs
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1479301481-197333-1-git-send-email-imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
5836d16812
commit
e3cadac073
2 changed files with 29 additions and 17 deletions
|
@ -36,6 +36,7 @@
|
|||
/**
|
||||
* PCMachineState:
|
||||
* @acpi_dev: link to ACPI PM device that performs ACPI hotplug handling
|
||||
* @boot_cpus: number of present VCPUs
|
||||
*/
|
||||
struct PCMachineState {
|
||||
/*< private >*/
|
||||
|
@ -70,6 +71,7 @@ struct PCMachineState {
|
|||
bool apic_xrupt_override;
|
||||
unsigned apic_id_limit;
|
||||
CPUArchIdList *possible_cpus;
|
||||
uint16_t boot_cpus;
|
||||
|
||||
/* NUMA information: */
|
||||
uint64_t numa_nodes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue