[libvirt] Error when creating VM with persistent memory

2019-08-27 Thread Seema Pandit
I am trying to create a VM with added persistent memory using virsh. It fails when persistent memory namespace size is larger than available system memory. Please see error below, prealloc=yes is set in the command line. For dax type namespace, as I understand, prealloc should not be needed. Is

Re: [libvirt] Error when creating VM with persistent memory

2019-08-31 Thread Seema Pandit
\ -daemonize So prealloc option works. But still passing /mnt/pmem0/file1 in virsh as the nvdimm fails to start the VM. Errors out saying cannot allocate that much memory. On Wed, Aug 28, 2019 at 6:49 PM Michal Privoznik wrote: > On 8/27/19 9:58 AM, Seema Pandit wrote: > > error: inter

Re: [libvirt] Error when creating VM with persistent memory

2019-09-02 Thread Seema Pandit
on for nvdimm? Any other important deltas? On Mon, Sep 2, 2019 at 12:21 PM Michal Privoznik wrote: > On 8/31/19 7:33 PM, Seema Pandit wrote: > > Hi Michal, > > Thank you for the reply. > > I was having issues compiling qemu code on fedora29. So instead of > dropping >

Re: [libvirt] Error when creating VM with persistent memory

2019-09-04 Thread Seema Pandit
store for guest RAM: Cannot allocate memory On Tue, Sep 3, 2019 at 9:53 AM Dan Williams wrote: > On Mon, Sep 2, 2019 at 10:10 AM Seema Pandit wrote: > > > > After adding the memoryBacking tag in xml as below (in addition, to > other xml changes to add nvdimm), virsh could