aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros/src/utils.rs
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2024-12-19 06:01:20 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-01-10 23:34:45 +0100
commite60cbeec190d349682bf97cf55446e8ae260b11a (patch)
tree48d9af2b3ef0b8984a171dff351950b8668d5f94 /rust/qemu-api-macros/src/utils.rs
parent8f78378de70fc79fdc7e1318496bd91ddd22df49 (diff)
downloadqemu-e60cbeec190d349682bf97cf55446e8ae260b11a.zip
qemu-e60cbeec190d349682bf97cf55446e8ae260b11a.tar.gz
qemu-e60cbeec190d349682bf97cf55446e8ae260b11a.tar.bz2
i386/topology: Introduce helpers for various topology info of different level
Introduce various helpers for getting the topology info of different semantics. Using the helper is more self-explanatory. Besides, the semantic of the helper will stay unchanged even when new topology is added in the future. At that time, updating the implementation of the helper without affecting the callers. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Link: https://lore.kernel.org/r/20241219110125.1266461-6-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src/utils.rs')
0 files changed, 0 insertions, 0 deletions