[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <399916154.53931292.1532494899706.JavaMail.zimbra@redhat.com>
Date: Wed, 25 Jul 2018 01:01:39 -0400 (EDT)
From: Pankaj Gupta <pagupta@...hat.com>
To: Eric Blake <eblake@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
qemu-devel@...gnu.org, linux-nvdimm@...1.01.org, kwolf@...hat.com,
haozhong zhang <haozhong.zhang@...el.com>, jack@...e.cz,
xiaoguangrong eric <xiaoguangrong.eric@...il.com>,
riel@...riel.com, niteshnarayanlal@...mail.com, david@...hat.com,
ross zwisler <ross.zwisler@...el.com>, lcapitulino@...hat.com,
hch@...radead.org, mst@...hat.com, stefanha@...hat.com,
imammedo@...hat.com, pbonzini@...hat.com,
dan j williams <dan.j.williams@...el.com>, nilal@...hat.com
Subject: Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device
Hi Eric,
>
> On 07/13/2018 02:52 AM, Pankaj Gupta wrote:
> > This patch adds virtio-pmem Qemu device.
> >
> > This device presents memory address range information to guest
> > which is backed by file backend type. It acts like persistent
> > memory device for KVM guest. Guest can perform read and persistent
> > write operations on this memory range with the help of DAX capable
> > filesystem.
> >
> > Persistent guest writes are assured with the help of virtio based
> > flushing interface. When guest userspace space performs fsync on
> > file fd on pmem device, a flush command is send to Qemu over VIRTIO
> > and host side flush/sync is done on backing image file.
> >
> > Changes from RFC v2:
>
> This patch has no n/M in the subject line; but is included in a thread
> that also has a 0/2 cover letter, as well as 1/2 and 2/2 patches in
> separate mails. Is that intentional?
Yes, kernel series has 0-2 patches and Qemu has this one. I thought its
good to keep separate numbering for both the sets.
>
> When sending revision notes on a specific patch, it's best to place them...
Sure.
>
> > - Use aio_worker() to avoid Qemu from hanging with blocking fsync
> > call - Stefan
> > - Use virtio_st*_p() for endianess - Stefan
> > - Correct indentation in qapi/misc.json - Eric
> >
> > Signed-off-by: Pankaj Gupta <pagupta@...hat.com>
> > ---
>
> ...here, after the --- separator. They are useful to reviewers on the
> list, but are stripped by 'git am' as they don't need to be part of the
> git history (a year from now, we won't care how many iterations the
> patch went through during review, only what actually landed).
>
>
> > +++ b/qapi/misc.json
> > @@ -2907,6 +2907,29 @@
> > }
> > }
> >
> > +##
> > +# @VirtioPMemDeviceInfo:
> > +#
> > +# VirtioPMem state information
> > +#
> > +# @id: device's ID
> > +#
> > +# @start: physical address, where device is mapped
> > +#
> > +# @size: size of memory that the device provides
> > +#
> > +# @memdev: memory backend linked with device
> > +#
> > +# Since: 2.13
>
> There is no 2.13 release, and you've missed the 3.0 window. Please
> update this and any other version reference to 3.1.
okay.
Thanks,
Pankaj
Powered by blists - more mailing lists