qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [CXL volatile MEM] - Qemu command to turn on HMAT and NUMA fails with assertion
@ 2021-08-09 16:38 Samarth Saxena
  2021-08-10 11:28 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 5+ messages in thread
From: Samarth Saxena @ 2021-08-09 16:38 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

Hi All,

I am trying the following command to run Qemu with Kernel 5.14.

qemu-system-x86_64 -M q35,accel=kvm,nvdimm=on,cxl=on,hmat=on -m 8448M,slots=2,maxmem=16G -smp 8,sockets=2,cores=2,threads=2 -hda /lan/dscratch/singhabh/shradha/ubuntu-20.10-64_with_orig_driver_backup.qcow2 -enable-kvm -usbdevice tablet -L $VB_ROOT/etc/vm/common/ -object memory-backend-ram,id=cxl-ram,share=on,size=256M -device "pxb-cxl,id=cxl.0,bus=pcie.0,bus_nr=52,uid=0,len-window-base=1,window-base[0]=0x4c0000000,memdev[0]=cxl-ram" -device cxl-rp,id=rp0,bus=cxl.0,addr=0.0,chassis=0,slot=0 -device cxl-type3,bus=rp0,memdev=cxl-ram,id=cxl-vmem0,size=256M -numa node,nodeid=0,memdev=cxl-ram -object memory-backend-ram,id=other-ram,size=8G,prealloc=n,share=off -numa node,nodeid=1,memdev=other-ram,initiator=0 -numa cpu,node-id=0,socket-id=0 -numa cpu,node-id=0,socket-id=1

I get the following crash before the machine starts to boot.

qemu-system-x86_64: ../softmmu/memory.c:2443: memory_region_add_subregion_common: Assertion `!subregion->container' failed.


Please help me find what's wrong here.

Regards,
[CadenceLogoRed185Regcopy1583174817new51584636989.png]<https://www.cadence.com/en_US/home.html>
Samarth Saxena
Sr Principal Software Engineer
T: +911204308300
[UIcorrectsize1583179003.png]<https://www.cadence.com/en_US/home.html>
[16066EmailSignatureFortune100Best2021White92x1271617625037.png]<https://www.cadence.com/en_US/home/company/careers.html>





[-- Attachment #2: Type: text/html, Size: 5900 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-15 10:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-09 16:38 [CXL volatile MEM] - Qemu command to turn on HMAT and NUMA fails with assertion Samarth Saxena
2021-08-10 11:28 ` Dr. David Alan Gilbert
2021-08-10 17:38   ` Samarth Saxena
2021-08-10 18:12     ` Ben Widawsky
2021-08-15 10:14       ` Samarth Saxena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).