From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzBNf-0008Lp-5J for qemu-devel@nongnu.org; Mon, 14 Mar 2011 13:16:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzBNd-0007u7-N6 for qemu-devel@nongnu.org; Mon, 14 Mar 2011 13:16:31 -0400 Received: from verein.lst.de ([213.95.11.211]:47757 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzBNd-0007tq-I1 for qemu-devel@nongnu.org; Mon, 14 Mar 2011 13:16:29 -0400 Date: Mon, 14 Mar 2011 18:16:27 +0100 From: Christoph Hellwig Message-ID: <20110314171627.GB1062@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: Write cache enable from guest at runtime List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anthony Liguori , qemu-devel , Christoph Hellwig , Prerna Saxena On Mon, Mar 14, 2011 at 05:07:57PM +0000, Stefan Hajnoczi wrote: > Hi Christoph, > I have written up thoughts on write cache enable, including a > workaround to change O_SYNC on a file without kernel changes: > > http://wiki.qemu.org/Features/WriteCacheEnable > > Guest ability to control write cache enable is useful and I'd like to > see it in QEMU soon. Any thoughts about what I've posted? Care to > submit your patches? I have patches using Prerna's close and reopen method almost ready for posting. Still fighting a bit with the new virtio code to wire it up. Unlike your variant I actually added a generic change config request type, which allows to re-use it for other runtime controllable features later.