numa: Extend CLI to provide memory side cache information
commitc412a48d4d91e8f8b89aae02de0f44f1f0b729e5
authorLiu Jingqi <jingqi.liu@intel.com>
Fri, 13 Dec 2019 01:19:24 +0000 (13 09:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jan 2020 12:03:03 +0000 (5 07:03 -0500)
treea54f4ed27d3fcb72f70f0f95664dae788b8d40cc
parent9b12dfa03a94d7f7a4b54eb67229a31e58193384
numa: Extend CLI to provide memory side cache information

Add -numa hmat-cache option to provide Memory Side Cache Information.
These memory attributes help to build Memory Side Cache Information
Structure(s) in ACPI Heterogeneous Memory Attribute Table (HMAT).
Before using hmat-cache option, enable HMAT with -machine hmat=on.

Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Liu Jingqi <jingqi.liu@intel.com>
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <20191213011929.2520-4-tao3.xu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/core/numa.c
include/sysemu/numa.h
qapi/machine.json
qemu-options.hx