Received: from eggs.gnu.org ([2001:4830:134:3::10]:45760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f35EB-0008GI-Ed for qemu-devel@nongnu.org; Mon, 02 Apr 2018 15:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f35EA-0007k5-JX for qemu-devel@nongnu.org; Mon, 02 Apr 2018 15:34:51 -0400 References: <1521178795-21894-1-git-send-email-thuth@redhat.com> <30a96f63-4cdf-23e6-c4d2-b4de59411a11@redhat.com> <2d69038f-f859-eb42-afb6-acde2e0c5182@redhat.com> From: John Snow Message-ID: <316190e9-552f-23c8-e9e6-2b24f708ae7c@redhat.com> Date: Mon, 2 Apr 2018 15:34:32 -0400 MIME-Version: 1.0 In-Reply-To: <2d69038f-f859-eb42-afb6-acde2e0c5182@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/3] Add new CD-ROM related qtests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-devel@nongnu.org Cc: Peter Maydell , Victor Kaplansky , qemu-block@nongnu.org, "Michael S. Tsirkin" , Mark Cave-Ayland , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-s390x@nongnu.org, =?UTF-8?Q?Herv=c3=a9_Poussineau?= On 04/02/2018 02:39 PM, Thomas Huth wrote: > On 29.03.2018 20:28, John Snow wrote: >> >> >> On 03/16/2018 01:39 AM, Thomas Huth wrote: >>> With one of my clean-up patches (see commit 1454509726719e0933c800), I >>> recently accidentially broke the "-cdrom" parameter (more precisely >>> "-drive if=scsi") on a couple of boards, since there was no error >>> detected during the "make check" regression testing. This is clearly an >>> indication that we are lacking tests in this area. >>> So this small patch series now introduces some tests for CD-ROM drives: >>> The first two patches introduce the possibility to check that booting >>> from CD-ROM drives still works fine for x86 and s390x, and the third >>> patch adds a test that certain machines can at least still be started >>> with the "-cdrom" parameter (i.e. that test would have catched the >>> mistake that I did with my SCSI cleanup patch). >>> >>> v2: >>> - Use g_spawn_sync() instead of execlp() to run genisoimage >>> - The "-cdrom" parameter test is now run on all architectures (with >>> machine "none" for the machines that are not explicitly checked) >>> - Some rewordings and improved comments here and there >>> >>> Thomas Huth (3): >>> tests/boot-sector: Add magic bytes to s390x boot code header >>> tests/cdrom-test: Test booting from CD-ROM ISO image file >>> tests/cdrom-test: Test that -cdrom parameter is working >>> >>> tests/Makefile.include | 2 + >>> tests/boot-sector.c | 9 +- >>> tests/cdrom-test.c | 222 +++++++++++++++++++++++++++++++++++++++++++++++++ >>> 3 files changed, 230 insertions(+), 3 deletions(-) >>> create mode 100644 tests/cdrom-test.c >>> >> >> New file, but no edit to MAINTAINERS. > > Which section do you suggest? It tests IDE CD-ROMs, SCSI CD-ROMs, and > even virtio-block (on s390x) ... so I have a hard time to decide where > this should belong to... > > Thomas > I was hoping you'd figure it out, but fine :D You can stick it under my section if you want, but I'll probably defer to you if the s390x parts break. --js