From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6gt1-0005CN-Og for qemu-devel@nongnu.org; Fri, 24 Jan 2014 08:33:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6gss-0006HL-V9 for qemu-devel@nongnu.org; Fri, 24 Jan 2014 08:33:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6gss-0006HB-NM for qemu-devel@nongnu.org; Fri, 24 Jan 2014 08:33:22 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0ODXLtg006589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Jan 2014 08:33:22 -0500 Date: Fri, 24 Jan 2014 14:33:19 +0100 From: Kevin Wolf Message-ID: <20140124133319.GH3342@dhcp-200-207.str.redhat.com> References: <2fb3ea05d2e1ee06d578a0f2c53f56df1661401c.1389726691.git.jcody@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fb3ea05d2e1ee06d578a0f2c53f56df1661401c.1389726691.git.jcody@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block: do not allow read-only=on and snapshot=on to be used together List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Cody Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Am 14.01.2014 um 20:12 hat Jeff Cody geschrieben: > Having both read-only=on and snapshot=on together does not make sense; > currently, the read-only argument is effectively ignored for the > temporary snapshot. To prevent confusion, disallow the usage of both > 'snapshot=on' and 'read-only=on'. > > Signed-off-by: Jeff Cody This breaks in a surprising way: $ softmmu/qemu-system-x86_64 -drive file=~/images/hd.img,snapshot=on ... works fine ... $ qemu-system-x86_64 -drive file=~/images/hd.img -snapshot qemu-system-x86_64: invalid option combination: read-only and snapshot qemu-iotests case 051 catches this. I'll have to remove this patch and the follow-up from the queue for now. Kevin