diff options
author | Like Xu | 2019-05-18 22:54:25 +0200 |
---|---|---|
committer | Eduardo Habkost | 2019-07-05 22:08:03 +0200 |
commit | 0e11fc6955dddf752987b261a0176edf31b34dec (patch) | |
tree | ecaeee904d31223fd77410dd8be6236ac33cb591 /hw/arm/mcimx6ul-evk.c | |
parent | hw/s390x: Replace global smp variables with machine smp properties (diff) | |
download | qemu-0e11fc6955dddf752987b261a0176edf31b34dec.tar.gz qemu-0e11fc6955dddf752987b261a0176edf31b34dec.tar.xz qemu-0e11fc6955dddf752987b261a0176edf31b34dec.zip |
hw/i386: Replace global smp variables with machine smp properties
The global smp variables in i386 are replaced with smp machine properties.
To avoid calling qdev_get_machine() as much as possible, some related funtions
for acpi data generations are refactored. No semantic changes.
A local variable of the same name would be introduced in the declaration
phase if it's used widely in the context OR replace it on the spot if it's
only used once. No semantic changes.
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190518205428.90532-8-like.xu@linux.intel.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/arm/mcimx6ul-evk.c')
0 files changed, 0 insertions, 0 deletions