machine: Tweak the order of topology members in struct CpuTopology
commit003f230e37d724ac52004d7f8270159da105780f
authorYanan Wang <wangyanan55@huawei.com>
Wed, 29 Sep 2021 02:58:11 +0000 (29 10:58 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 13:28:19 +0000 (1 15:28 +0200)
treed7adb2d9209b1c7f05f2e688ef02b45139ae1687
parent69fc28a78dbff2d3414bbafce38320b4433ed583
machine: Tweak the order of topology members in struct CpuTopology

Now that all the possible topology parameters are integrated in struct
CpuTopology, tweak the order of topology members to be "cpus/sockets/
dies/cores/threads/maxcpus" for readability and consistency. We also
tweak the comment by adding explanation of dies parameter.

Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210929025816.21076-12-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h