All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: Adapt example to for numa setting.
@ 2022-04-28 11:36 Jack Wang
  0 siblings, 0 replies; only message in thread
From: Jack Wang @ 2022-04-28 11:36 UTC (permalink / raw)
  To: pbonzini, mtosatti, kvm, qemu-devel; +Cc: Yu Zhang

Add numa sgx setting in one leftover example, without
numa setting qemu will error out with message below:
qemu-7.0: Parameter 'sgx-epc.0.node' is missing

Fixes: d1889b36098c ("doc: Add the SGX numa description")
Cc: Yu Zhang <yu.zhang@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
---
 docs/system/i386/sgx.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/system/i386/sgx.rst b/docs/system/i386/sgx.rst
index 0f0a73f7587c..86fa70ec2a30 100644
--- a/docs/system/i386/sgx.rst
+++ b/docs/system/i386/sgx.rst
@@ -45,7 +45,7 @@ to the VM and an additional 28M mapped but not allocated::
 
  -object memory-backend-epc,id=mem1,size=64M,prealloc=on \
  -object memory-backend-epc,id=mem2,size=28M \
- -M sgx-epc.0.memdev=mem1,sgx-epc.1.memdev=mem2
+ -M sgx-epc.0.memdev=mem1,sgx-epc.0.node=0,sgx-epc.1.memdev=mem2,sgx-epc.1.node=0
 
 Note:
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-28 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 11:36 [PATCH] doc: Adapt example to for numa setting Jack Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.