Skip to contentSkip to conversation

doc: Adapt example to for numa setting.

PATCH New Jack Wang 1 participant 1 message Apr 28, 2022 KVM

lore
Share & tools
lore

Jack Wang

author
#0 lore raw

PATCH 1/1 doc: Adapt example to for numa setting.

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 <[email protected]>
---
 docs/system/i386/sgx.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/i386/sgx.rst +1 -1
index 0f0a73f7587c..86fa70ec2a30 100644
@@ -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:
 
Signature · 1 line
2.25.1