machine: Move smp_prefer_sockets to struct SMPCompatProps
commit2b52619994ab48504c5fc0d32a1af24159405ce0
authorYanan Wang <wangyanan55@huawei.com>
Wed, 29 Sep 2021 02:58:14 +0000 (29 10:58 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 13:29:15 +0000 (1 15:29 +0200)
tree9e60a62651c29e27cfef0fe5db0a5aab73ec6b68
parent7687b2b3edc3f29ad58e8d6593d5c10dde406c34
machine: Move smp_prefer_sockets to struct SMPCompatProps

Now we have a common structure SMPCompatProps used to store information
about SMP compatibility stuff, so we can also move smp_prefer_sockets
there for cleaner code.

No functional change intended.

Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210929025816.21076-15-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/arm/virt.c
hw/core/machine.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/ppc/spapr.c
hw/s390x/s390-virtio-ccw.c
include/hw/boards.h