On 30.08.2024 08:07, Yuquan Wang via Asa-dev wrote:
Before I start testing it I need to ask one question.
Can you provide which exactly arguments are needed?
I suppose those:
-object memory-backend-ram,size=2G,id=mem0 \ -numa node,nodeid=0,cpus=0-1,memdev=mem0 \ -object memory-backend-ram,size=2G,id=mem1 \ -numa node,nodeid=1,cpus=2-3,memdev=mem1 \ -object
memory-backend-file,id=mem2,mem-path=/tmp/mem2,size=256M,share=true \
-device cxl-type3,bus=cxl.0,volatile-memdev=mem2,id=cxl-mem1 \
But I am not sure as I am not familiar with CXL yet.
Thus, to run sbsa-ref with a cxl device could use: qemu-system-aarch64 \ -machine sbsa-ref \
-cpu cortex-a57 \ -smp 4 \
Please stop using -cpu/-smp options unless really need to. Neoverse-N2 is default cpu in sbsa-ref and 4 cores are default value.