diff options
author | Pankaj Gupta <[email protected]> | 2019-07-05 19:33:23 +0530 |
---|---|---|
committer | Dan Williams <[email protected]> | 2019-07-05 15:19:10 -0700 |
commit | 6e84200c0a2994b991259d19450eee561029bf70 (patch) | |
tree | 66e3cd2cb9bf896803e6012148731cb4ddeaf36f /net/lapb/lapb_timer.c | |
parent | c5d4355d10d414a96ca870b731756b89d068d57a (diff) |
virtio-pmem: Add virtio pmem driver
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 <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jakub Staron <[email protected]>
Tested-by: Jakub Staron <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions