05 Aug, 2020

1 commit


06 Jul, 2019

1 commit

  • This patch adds virtio-pmem driver for KVM guest.

    Guest reads the persistent memory range information from
    Qemu over VIRTIO and registers it on nvdimm_bus. It also
    creates a nd_region object with the persistent memory
    range information so that existing 'nvdimm/pmem' driver
    can reserve this into system memory map. This way
    'virtio-pmem' driver uses existing functionality of pmem
    driver to register persistent memory compatible for DAX
    capable filesystems.

    This also provides function to perform guest flush over
    VIRTIO from 'pmem' driver when userspace performs flush
    on DAX memory range.

    Signed-off-by: Pankaj Gupta
    Reviewed-by: Yuval Shaia
    Acked-by: Michael S. Tsirkin
    Acked-by: Jakub Staron
    Tested-by: Jakub Staron
    Reviewed-by: Cornelia Huck
    Signed-off-by: Dan Williams

    Pankaj Gupta