Hi Daniel,
>
> Hi all,
>
> Virtio-pmem support has been added to kernel[1] and qemu[2]
> upstream. User document[3] has more details on how to use this
> new device.
>
> We now need support in libvirt. Required support would be a subset
> of features already implemented for emulated nvdimm. We will use
> new virtio-pmem-pci device and don't require advance ACPI configurations.
>
> Can libvirt upstream community implement libvirt support for virtio pmem
> to complete the entire stack.
It looks like pmem would fit as just another type of memory device
in libvirt's world. ie <memory model='virtio-pmem'>..</memory>:
https://libvirt.org/formatdomain.html#elementsMemory
Yes.
In terms of impl it is mostly just a case of finding everywhere in
the code that references nvdimm and adding equivalent for pmem.
Mostly yes, just it would need some minor tweaks for the validations of
configurations which are required for nvdimm but not required for virtio pmem
Best regards,
Pankaj