Return-Path: Subject: Re: [Qemu-devel] KVM "fake DAX" flushing interface - discussion References: <1455443283.33337333.1500618150787.JavaMail.zimbra@redhat.com> <1511288389.1080.14.camel@redhat.com> <654f8935-258e-22ef-fae4-3e14e91e8fae@redhat.com> <336152896.34452750.1511527207457.JavaMail.zimbra@redhat.com> <919538865.34455774.1511528573448.JavaMail.zimbra@redhat.com> From: Paolo Bonzini Message-ID: <9357a268-3801-367e-0aaa-a01163ea0cbc@redhat.com> Date: Fri, 24 Nov 2017 14:20:22 +0100 MIME-Version: 1.0 In-Reply-To: <919538865.34455774.1511528573448.JavaMail.zimbra@redhat.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Pankaj Gupta , Christoph Hellwig Cc: Kevin Wolf , Rik van Riel , Jan Kara , Xiao Guangrong , kvm-devel , "linux-nvdimm@lists.01.org" , Ross Zwisler , Qemu Developers , Stefan Hajnoczi , Stefan Hajnoczi , Nitesh Narayan Lal List-ID: On 24/11/2017 14:02, Pankaj Gupta wrote: > >>> - Suggestion by Paolo & Stefan(previously) to use virtio-blk makes sense >>> if just >>> want a flush vehicle to send guest commands to host and get reply >>> after asynchronous >>> execution. There was previous discussion [1] with Rik & Dan on this. >>> >>> [1] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg08373.html >> >> ... in fact, the virtio-blk device _could_ actually accept regular I/O >> too. That would make it easier to boot from pmem. Is there anything >> similar in regular hardware? > > there is existing block device associated(hard bind) with the pmem range. > Also, comment by Christoph [1], about removing block device with DAX support. > Still I am not clear about this. Am I missing anything here? The I/O part of the blk device would only be used by the firmware. In Linux, the different device id would bind the device to a different driver that would only be used for flushing. But maybe this idea makes no sense. :) Paolo _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm