qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: QingFeng Hao <haoqf@linux.vnet.ibm.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>, 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
Subject: Re: [Qemu-devel] [PATCH v1 1/1] iotests: bypass s390x for case 200
Date: Wed, 7 Mar 2018 18:55:47 +0800	[thread overview]
Message-ID: <ce6d5a2d-6676-8e62-2e4d-d8225af24dc6@linux.vnet.ibm.com> (raw)
In-Reply-To: <b7dbab37-9a75-f945-baca-7d4e568476d0@de.ibm.com>



在 2018/3/6 15:56, Christian Borntraeger 写道:
> Nack. This will be fixed by
> 
> s390/ipl: only print boot menu error if -boot menu=on was specified
You are right. After I applied that patch, the case is passed.
Please ignore this patch. Thanks
> 
> 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 <haoqf@linux.vnet.ibm.com>
>> ---
>>   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"
>>

-- 
Regards
QingFeng Hao

      reply	other threads:[~2018-03-07 10:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  7:54 [Qemu-devel] [PATCH v1 1/1] iotests: bypass s390x for case 200 QingFeng Hao
2018-03-06  7:56 ` Christian Borntraeger
2018-03-07 10:55   ` QingFeng Hao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce6d5a2d-6676-8e62-2e4d-d8225af24dc6@linux.vnet.ibm.com \
    --to=haoqf@linux.vnet.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=peterx@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=zyimin@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).