Received: from eggs.gnu.org ([2001:4830:134:3::10]:33560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1et7St-0007F5-4O for qemu-devel@nongnu.org; Tue, 06 Mar 2018 02:56:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1et7Sp-0001Gv-7w for qemu-devel@nongnu.org; Tue, 06 Mar 2018 02:56:51 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33516 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1et7Sp-0001Ga-1x for qemu-devel@nongnu.org; Tue, 06 Mar 2018 02:56:47 -0500 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w267sLaj117417 for ; Tue, 6 Mar 2018 02:56:46 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ghnfpbc4d-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 06 Mar 2018 02:56:45 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Mar 2018 07:56:44 -0000 References: <20180306075448.1179-1-haoqf@linux.vnet.ibm.com> From: Christian Borntraeger Date: Tue, 6 Mar 2018 08:56:38 +0100 MIME-Version: 1.0 In-Reply-To: <20180306075448.1179-1-haoqf@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Message-Id: Subject: Re: [Qemu-devel] [PATCH v1 1/1] iotests: bypass s390x for case 200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QingFeng Hao , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, kwolf@redhat.com, peterx@redhat.com, dgilbert@redhat.com, mreitz@redhat.com, cohuck@redhat.com, zyimin@linux.vnet.ibm.com, famz@redhat.com Nack. This will be fixed by s390/ipl: only print boot menu error if -boot menu=on was specified On 03/06/2018 08:54 AM, QingFeng Hao wrote: > In s390x, the case 200 failed as: > === Starting QEMU VM === > > +QEMU_PROG: boot menu is not supported for this device type. > {"return": {}} > > === Sending stream/cancel, checking for SIGSEGV only === > Failures: 200 > Failed 1 of 1 tests > > It was caused by the command which isn't supported by s390x now: > qemu-system-s390x -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 -object iothread,id=iothread0 -device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 -drive file=.../scratch/test.img,media=disk,if=none,cache=writeback,id=drive_sysdisk,format=qcow2 -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 -nographic > > Signed-off-by: QingFeng Hao > --- > tests/qemu-iotests/200 | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tests/qemu-iotests/200 b/tests/qemu-iotests/200 > index ddbdedc476..7e53bd7774 100755 > --- a/tests/qemu-iotests/200 > +++ b/tests/qemu-iotests/200 > @@ -45,6 +45,10 @@ _supported_fmt qcow2 qed > _supported_proto file > _supported_os Linux > > +if [ "$QEMU_DEFAULT_MACHINE" != "pc" ]; then > + _notrun "Requires a PC machine" > +fi > + > BACKING_IMG="${TEST_DIR}/backing.img" > TEST_IMG="${TEST_DIR}/test.img" >