Changes from v1 [1]:
 - Fixed a bug where the guest might touch pmem region prior to the
   backing file being mapped into the guest's address space.

[1]: https://www.mail-archive.com/[email protected]/msg23736.html

---

These patches add support to virtio-pmem to allow the pmem region to be
specified in either guest absolute terms or as a PCI BAR-relative address.
This is required to support virtio-pmem in Hyper-V, since Hyper-V only
allows PCI devices to operate on PCI memory ranges defined via BARs.

Taylor Stark (2):
  virtio-pmem: Support PCI BAR-relative addresses
  virtio-pmem: Set DRIVER_OK status prior to creating pmem region

 drivers/nvdimm/virtio_pmem.c | 27 +++++++++++++++++++++++----
 drivers/nvdimm/virtio_pmem.h |  3 +++
 2 files changed, 26 insertions(+), 4 deletions(-)


base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3
-- 
2.32.0


Reply via email to