[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165204827.34945594.1560397338620.JavaMail.zimbra@redhat.com>
Date: Wed, 12 Jun 2019 23:42:18 -0400 (EDT)
From: Pankaj Gupta <pagupta@...hat.com>
To: Cornelia Huck <cohuck@...hat.com>
Cc: rdunlap@...radead.org, jack@...e.cz, kvm@...r.kernel.org,
mst@...hat.com, jasowang@...hat.com, david@...morbit.com,
qemu-devel@...gnu.org, virtualization@...ts.linux-foundation.org,
dm-devel@...hat.com, adilger kernel <adilger.kernel@...ger.ca>,
zwisler@...nel.org, aarcange@...hat.com,
dave jiang <dave.jiang@...el.com>, jstaron@...gle.com,
linux-nvdimm@...ts.01.org,
vishal l verma <vishal.l.verma@...el.com>, david@...hat.com,
willy@...radead.org, hch@...radead.org, linux-acpi@...r.kernel.org,
jmoyer@...hat.com, linux-ext4@...r.kernel.org, lenb@...nel.org,
kilobyte@...band.pl, riel@...riel.com,
yuval shaia <yuval.shaia@...cle.com>, stefanha@...hat.com,
pbonzini@...hat.com, dan j williams <dan.j.williams@...el.com>,
lcapitulino@...hat.com, kwolf@...hat.com, nilal@...hat.com,
tytso@....edu, xiaoguangrong eric <xiaoguangrong.eric@...il.com>,
snitzer@...hat.com, darrick wong <darrick.wong@...cle.com>,
rjw@...ysocki.net, linux-kernel@...r.kernel.org,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
imammedo@...hat.com
Subject: Re: [Qemu-devel] [PATCH v13 2/7] 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 <pagupta@...hat.com>
> > Reviewed-by: Yuval Shaia <yuval.shaia@...cle.com>
> > Acked-by: Michael S. Tsirkin <mst@...hat.com>
> > Acked-by: Jakub Staron <jstaron@...gle.com>
> > Tested-by: Jakub Staron <jstaron@...gle.com>
> > ---
> > drivers/nvdimm/Makefile | 1 +
> > drivers/nvdimm/nd_virtio.c | 125 +++++++++++++++++++++++++++++++
> > drivers/nvdimm/virtio_pmem.c | 122 ++++++++++++++++++++++++++++++
> > drivers/nvdimm/virtio_pmem.h | 55 ++++++++++++++
> > drivers/virtio/Kconfig | 11 +++
> > include/uapi/linux/virtio_ids.h | 1 +
> > include/uapi/linux/virtio_pmem.h | 35 +++++++++
> > 7 files changed, 350 insertions(+)
> > create mode 100644 drivers/nvdimm/nd_virtio.c
> > create mode 100644 drivers/nvdimm/virtio_pmem.c
> > create mode 100644 drivers/nvdimm/virtio_pmem.h
> > create mode 100644 include/uapi/linux/virtio_pmem.h
>
> Reviewed-by: Cornelia Huck <cohuck@...hat.com>
Thank you Cornelia for the review.
Best regards,
Pankaj
>
>
Powered by blists - more mailing lists