i386/pc: Support cache topology in -machine for PC machine
authorZhao Liu <zhao1.liu@intel.com>
Fri, 10 Jan 2025 14:51:14 +0000 (22:51 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:12 +0000 (16:18 +0100)
commit90df2cac3700188acadd12948fdad8e9b1459646
tree0991052ba2e27c586b43f4ec1f38dc58b0f39545
parent5ca9282d25157004601c520ed59dcb380177f728
i386/pc: Support cache topology in -machine for PC machine

Allow user to configure l1d, l1i, l2 and l3 cache topologies for PC
machine.

Additionally, add the document of "-machine smp-cache" in
qemu-options.hx.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20250110145115.1574345-5-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c
qemu-options.hx