summaryrefslogtreecommitdiffstats
path: root/qobject
diff options
context:
space:
mode:
authorLike Xu2019-05-18 22:54:21 +0200
committerEduardo Habkost2019-07-05 22:07:36 +0200
commit5cc8767d05708f590eea926a2f7a2c1a80021fa7 (patch)
tree98da97b39d3ec270eea31f88f9bd367cb8eadd3c /qobject
parentmachine: Refactor smp-related call chains to pass MachineState (diff)
downloadqemu-5cc8767d05708f590eea926a2f7a2c1a80021fa7.tar.gz
qemu-5cc8767d05708f590eea926a2f7a2c1a80021fa7.tar.xz
qemu-5cc8767d05708f590eea926a2f7a2c1a80021fa7.zip
general: Replace global smp variables with smp machine properties
Basically, the context could get the MachineState reference via call chains or unrecommended qdev_get_machine() in !CONFIG_USER_ONLY mode. A local variable of the same name would be introduced in the declaration phase out of less effort OR replace it on the spot if it's only used once in the context. No semantic changes. Signed-off-by: Like Xu <like.xu@linux.intel.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20190518205428.90532-4-like.xu@linux.intel.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions