[libvirt] virtio pmem support in libvirt

Daniel P. Berrangé berrange at redhat.com
Thu Aug 1 12:50:50 UTC 2019


On Thu, Aug 01, 2019 at 01:44:06AM -0400, Pankaj Gupta wrote:
> 
> 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

In terms of impl it is mostly just a case of finding everywhere in
the code that references nvdimm and adding equivalent for pmem.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list