Received: from eggs.gnu.org ([2001:4830:134:3::10]:56181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7SYH-0007Sn-Ho for qemu-devel@nongnu.org; Thu, 08 Aug 2013 11:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7SYG-0001RM-58 for qemu-devel@nongnu.org; Thu, 08 Aug 2013 11:55:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7SYF-0001R5-TV for qemu-devel@nongnu.org; Thu, 08 Aug 2013 11:55:00 -0400 Date: Thu, 8 Aug 2013 17:54:50 +0200 From: Kevin Wolf Message-ID: <20130808155450.GK7748@dhcp-200-207.str.redhat.com> References: <1375973116-8458-1-git-send-email-qiudayu@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375973116-8458-1-git-send-email-qiudayu@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH] block: Bugfix 'format' and 'snapshot' used in drive option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Qiu Cc: qemu-devel@nongnu.org, stefanha@redhat.com Am 08.08.2013 um 16:45 hat Mike Qiu geschrieben: > When use -drive file='xxx',format=qcow2,snapshot=on the error > message "Can't use snapshot=on with driver-specific options" > can be show, and fail to start the qemu. > > This should not be happened, and there is no file.driver option > in qemu command line. > > It is because the commit 74fe54f2a1b5c4f4498a8fe521e1dfc936656cd4, > it puts 'driver' option if the command line use 'format' option. > > This patch is to solve this bug. > > Signed-off-by: Mike Qiu Thanks, applied to the block branch. This is quite obviously not the proper long-term solution, but I've had a look at the code and considering that we'll only have one more release candidate for 1.6, it seems to be too risky to do anything more involved than this. I'm going to revert this patch again for 1.7 and replace it by proper snapshot=on support with driver-specific options. Kevin