[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Not able to see nvdimms

From: lokesh jaliminche
Subject: Not able to see nvdimms
Date: Mon, 17 Jul 2023 22:07:07 -0700

Hi All,

I am trying to emulate nvdimms in qemu. I followed the steps provided in doc. However I am not able to see nvdimms in guest OS.

Command :
/opt/qemu/bin/qemu-system-x86_64 \
-hda ./images/ubuntu-22.04-server-cloudimg-amd64.img \
-hdb ./images/user-data.img \
-m 4G,slots=4,maxmem=40G \
-smp 4 \
-machine pc,accel=kvm,nvdimm=on \
-object memory-backend-file,id=mem1,share,mem-path=./tmp_files/f27nvdimm0,size=4G \
-device nvdimm,memdev=mem1,id=nv1,label-size=2M \
-object memory-backend-file,id=mem2,share,mem-path=./tmp_files/f27nvdimm1,size=4G \
-device nvdimm,memdev=mem2,id=nv2,label-size=2M \
-nographic \
-enable-kvm \
-net nic,netdev=net0 \
-netdev user,id=net0

ubuntu@ubuntu:~/ndctl/ndctl/build/ndctl$ ./ndctl list -D
ubuntu@ubuntu:~/ndctl/ndctl/build/ndctl$ ./ndctl list

Am I missing something?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]