[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] qapi: Make @associativity, @policy and @line of NumaHmatCach
From: |
Michal Privoznik |
Subject: |
[PATCH 1/3] qapi: Make @associativity, @policy and @line of NumaHmatCacheOptions optional |
Date: |
Fri, 29 May 2020 15:33:46 +0200 |
The documentation to `-numa hmat-cache` says that @node-id, @size
and @level are the only required attributes. The rest
(@associativity, @policy and @line) is optional. Well, not quite
- if I try to start QEMU with only the three required attributes
defined the QAPI code is complaining about associativity missing.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
qapi/machine.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/qapi/machine.json b/qapi/machine.json
index ff7b5032e3..952784f8ba 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -723,9 +723,9 @@
'node-id': 'uint32',
'size': 'size',
'level': 'uint8',
- 'associativity': 'HmatCacheAssociativity',
- 'policy': 'HmatCacheWritePolicy',
- 'line': 'uint16' }}
+ '*associativity': 'HmatCacheAssociativity',
+ '*policy': 'HmatCacheWritePolicy',
+ '*line': 'uint16' }}
##
# @HostMemPolicy:
--
2.26.2
- [PATCH 0/3] Couple of HMAT fixes, Michal Privoznik, 2020/05/29
- [PATCH 2/3] numa: Allow HMAT cache to be defined before HMAT latency/bandwidth, Michal Privoznik, 2020/05/29
- [PATCH 1/3] qapi: Make @associativity, @policy and @line of NumaHmatCacheOptions optional,
Michal Privoznik <=
- [PATCH 3/3] numa: Initialize node initiator with respect to .has_cpu, Michal Privoznik, 2020/05/29
- Re: [PATCH 0/3] Couple of HMAT fixes, no-reply, 2020/05/29
- Re: [PATCH 0/3] Couple of HMAT fixes, no-reply, 2020/05/29