From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56130 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OE36C-0007eT-M2 for qemu-devel@nongnu.org; Mon, 17 May 2010 12:23:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OE369-0004fM-V7 for qemu-devel@nongnu.org; Mon, 17 May 2010 12:23:24 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:49851) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OE369-0004en-Mq for qemu-devel@nongnu.org; Mon, 17 May 2010 12:23:21 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive Date: Mon, 17 May 2010 17:23:15 +0100 References: <1274091292-4812-1-git-send-email-agraf@suse.de> <4BF14CE9.5040907@suse.de> <4BF15DC8.8080104@codemonkey.ws> In-Reply-To: <4BF15DC8.8080104@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005171723.15675.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Alexander Graf , hch@lst.de > > I don't see a difference between the results. Apparently the barrier > > option doesn't change a thing. > > Ok. I don't like it, but I can see how it's compelling. I'd like to > see the documentation improved though. I also think a warning printed > on stdio about the safety of the option would be appropriate. I disagree with this last bit. Errors should be issued if the user did something wrong. Warnings should be issued if qemu did (or will soon do) something other than what the user requested, or otherwise made questionable decisions on the user's behalf. In this case we're doing exactly what the user requested. The only plausible failure case is where a user is blindly trying options that they clearly don't understand or read the documentation for. I have zero sympathy for complaints like "Someone on the Internet told me to use --breakme, and broke thinks". Paul