aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/core/machine-smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/machine-smp.c b/hw/core/machine-smp.c
index b87637c78f..b954eb8490 100644
--- a/hw/core/machine-smp.c
+++ b/hw/core/machine-smp.c
@@ -317,7 +317,7 @@ bool machine_parse_smp_cache(MachineState *ms,
!mc->smp_props.cache_supported[props->cache]) {
error_setg(errp,
"%s cache topology not supported by this machine",
- CacheLevelAndType_str(node->value->cache));
+ CacheLevelAndType_str(props->cache));
return false;
}