]> git.proxmox.com Git - mirror_qemu.git/commit
hw/s390x: Replace global smp variables with machine smp properties
authorLike Xu <like.xu@linux.intel.com>
Sat, 18 May 2019 20:54:24 +0000 (04:54 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:03 +0000 (17:08 -0300)
commitae71ed8610514d9154df887b024f269554bdb8f0
treea0b3bd3a283be1c2599be30f1c980de8cced798d
parentc447312747aae02298333e61e1ede0793cda47d8
hw/s390x: Replace global smp variables with machine smp properties

The global smp variables in s390x are replaced with smp machine properties.

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-7-like.xu@linux.intel.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[ehabkost: fix build failure at VCPU_IRQ_BUF_SIZE]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
fixup! hw/s390x: Replace global smp variables with machine smp properties

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/s390x/s390-virtio-ccw.c
hw/s390x/sclp.c
target/s390x/cpu.c
target/s390x/excp_helper.c
target/s390x/kvm.c