Hello,
I'm trying to add an nvdimm device on my vm and configure it to a dax mode.
Directly with qemu, I was:
sudo ndctl disable-namespace namespace0.0
sudo ndctl create-namespace -m devdax
sudo daxctl reconfigure-device -m system-ram all --force

However, when running with virt-manager, I get the following error message when I run
sudo ndctl create-namespace -m devdax

Error: create namespace: region0 align setting is 0x1000000 size 0x1dde0000 is misaligned.
Here are the xml infos for the nvdimm device:

<memory model="nvdimm" access="shared">
      <source>
        <path>/mnt/scratch/pclouzet/libvirt/dax0.0</path>
        <alignsize unit="KiB">2048</alignsize>
        <pmem/>
      </source>
      <target>
        <size unit="KiB">488282</size>
        <node>0</node>
        <label>
          <size unit="KiB">128</size>
        </label>
      </target>
      <address type="dimm" slot="0"/>
    </memory>
  </devices>

Is there an additional command I missed to set it as a dax device?

Thanks,
Pierre