From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufnx8-00021v-RG for qemu-devel@nongnu.org; Fri, 24 May 2013 05:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufnx4-00046s-7E for qemu-devel@nongnu.org; Fri, 24 May 2013 05:06:22 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:64595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufnx3-00046h-Vl for qemu-devel@nongnu.org; Fri, 24 May 2013 05:06:18 -0400 Received: by mail-we0-f173.google.com with SMTP id p57so2510395wes.4 for ; Fri, 24 May 2013 02:06:17 -0700 (PDT) Date: Fri, 24 May 2013 11:06:14 +0200 From: Stefan Hajnoczi Message-ID: <20130524090614.GF21639@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] 'qemu-nbd' explicit flush List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Trumpold Cc: Paolo Bonzini , qemu-devel@nongnu.org, markt@tachyon.net On Thu, May 23, 2013 at 11:35:24PM +0000, Mark Trumpold wrote: > I had one question I forgot to ask.. > > Is it possible to switch from '--cache=writeback' functionality > to '--cache=writethrough' (and visa versa) while qemu-nbd is > connected to the '/dev/nbd' device? No. The block layer APIs to do that are available in QEMU but qemu-nbd doesn't have run-time cache mode changing. Stefan