Received: from eggs.gnu.org ([2001:4830:134:3::10]:56561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtzfZ-00017P-Oj for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:31:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtzfU-00072n-AG for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:31:25 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:47166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtzfT-00072g-Ss for qemu-devel@nongnu.org; Mon, 09 Jun 2014 09:31:20 -0400 Received: by mail-wi0-f177.google.com with SMTP id f8so4279109wiw.4 for ; Mon, 09 Jun 2014 06:31:19 -0700 (PDT) Date: Mon, 9 Jun 2014 15:31:16 +0200 From: Stefan Hajnoczi Message-ID: <20140609133116.GE19546@stefanha-thinkpad.redhat.com> References: <1401960072-2363-1-git-send-email-cyliu@suse.com> <20140605132857.GA8759@stefanha-thinkpad.redhat.com> <539595C902000066000358D5@soto.provo.novell.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KlAEzMkarCnErv5Q" Content-Disposition: inline In-Reply-To: <539595C902000066000358D5@soto.provo.novell.com> Subject: Re: [Qemu-devel] [PATCH v28 00/33] replace QEMUOptionParameter with QemuOpts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chun Yan Liu Cc: qemu-devel@nongnu.org, stefanha@redhat.com --KlAEzMkarCnErv5Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 08, 2014 at 09:08:57PM -0600, Chun Yan Liu wrote: > >>> On 6/5/2014 at 09:28 PM, in message > <20140605132857.GA8759@stefanha-thinkpad.redhat.com>, Stefan Hajnoczi > wrote:=20 > > On Thu, Jun 05, 2014 at 05:20:39PM +0800, Chunyan Liu wrote:=20 > > > This patch series is to replace QEMUOptionParameter with QemuOpts, so= that =20 > > only=20 > > > one Qemu Option structure is kept in QEMU code.=20 > > > =20 > > > ---=20 > > > Changes to v27:=20 > > > * rebase to git master (code has been updated in this part since v2= 7 sent=20 > > > so rebase to make the patch series work.)=20 > > =20 > > This series causes two qemu-iotests failures. For info on qemu-iotests= :=20 > > http://qemu-project.org/Documentation/QemuIoTests=20 > > =20 > > Luckily they look easy to fix, they are just differences in error=20 > > messages. Please preserve error messages where possible, and otherwise= =20 > > just update the test .out file.=20 > > =20 > > When resolving these test failures, please make sure to keep=20 > > bisectability by squashing the fix where the failure was introduced=20 > > instead of adding new patches to the end of the series.=20 > > =20 > > 049 6s ... - output mismatch (see 049.out.bad)=20 > > --- 049.out 2014-06-05 15:04:21.952358444 +0200=20 > > +++ 049.out.bad 2014-06-05 15:11:29.143000551 +0200=20 > > @@ -120,7 +120,7 @@=20 > > =20 > > qemu-img create -f qcow2 -o size=3Dfoobar TEST_DIR/t.qcow2=20 > > qemu-img: Parameter 'size' expects a size=20 > > -qemu-img: TEST_DIR/t.qcow2: Invalid options for file format 'qcow2'=20 > > +qemu-img: TEST_DIR/t.qcow2: Invalid options for file format 'qcow2'.= =20 > > =20 > > =3D=3D Check correct interpretation of suffixes for cluster size =3D= =3D=20 > > =20 > > 061 7s ... - output mismatch (see 061.out.bad)=20 > > --- 061.out 2014-06-05 15:04:21.952358444 +0200=20 > > +++ 061.out.bad 2014-06-05 15:12:08.024050567 +0200=20 > > @@ -281,7 +281,7 @@=20 > > qemu-img: Error while amending options: Invalid argument=20 > > Unknown compatibility level 0.42.=20 > > qemu-img: Error while amending options: Invalid argument=20 > > -qemu-img: Invalid parameter 'foo'=20 > > +Unknown option 'foo'=20 > > qemu-img: Invalid options for file format 'qcow2'=20 > > Changing the cluster size is not supported.=20 > > qemu-img: Error while amending options: Operation not supported=20 > > =20 > Hi, Stefan, > I'm confused about this mismatch. The mismatch error messages are just > those are updated in 12/33, which should be correct I think and there are > no failure in my testing 'make check-block'. How do you encounter those > failure? >=20 > PS: > 049.out: error message should not be ended with '.', I updated two places > in 12/33 and updated 049.out to match that. > 061.out: old code uses QEMUOptionParameter, that prints "Unknown option '= foo'". > new code uses QemuOpts, which prints Invalid parameter 'fo= o'. So I > correct that in 061.out. You are right. I wonder if I ran qemu-iotests on v27 by mistake. In any case, I reran git bisect -x 'make && cd tests/qemu-iotests && =2E/check -qcow2 049 061' to confirm that they pass with the v28 patch series. Looks good. Stefan --KlAEzMkarCnErv5Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTlbckAAoJEJykq7OBq3PI4UoH/12mBwo3fLyFJEM4QT/d3SIF 4clTKBJNvzX9KjK9OyRksZTZEm5xECmSt+j/Gq5Q4zdwiuE4R1gyXyGgCPRXkKm+ rEgTjXIlOnFkSqszMaCITRA3WpGccK8pKmv1qVjVDIWUqnWJapm7ZDAdIYtgxdq/ L4o7fbfQPvi2nIG6mZ1J9VE6Z7q8osofT0j61un8riB3MF0kz19V/AyivrPqvbkg 1gyVkBDui4Mu+3EqW93thNx6lGg5wDolTSTIPHuxi3qMs8YjJzmoQsrjN/xoGdbM B+sizCDAVK0ryOsF6EpiN8CthpgVJzFUkVn3DUSY0PqbQ5C5ehsKhfQqX/lQcI4= =JVY1 -----END PGP SIGNATURE----- --KlAEzMkarCnErv5Q--