<div dir="ltr">On Tue, May 10, 2016 at 11:48 PM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 05/10/2016 09:24 AM, Leno Hou wrote:<br>
> When booting from empty disk image or none bootdev, its leads<br>
> system IPL enter into infinite loop with message on s390x.<br>
> This patch sets preserve when on_crash to avoid the loop.<br>
><br>
<br>
</span>Is this correct behavior, or is this a qemu or guest OS bug? If it's something<br>
that's going to be fixed eventually I'd rather not add it to virtinst. Is<br>
there a bug report somewhere I can look at?<br></blockquote><div><br></div><div> </div><div>described in below. </div><div><br></div><pre class="" id="comment_text_0" style="font-size:1.2em;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;width:50em;color:rgb(0,0,0)">1. qemu-img create -f qcow2 /var/lib/libvirt/images/sle.qcow2 20G

2. cat sle1.xml
[root@ltczhp20 ~]# cat sle.xml 
  .....
  <os>
    <type arch='s390x' machine='s390-ccw-virtio-2.6'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/sle.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <target dev='sda' bus='scsi'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
   ......

3. virsh create sle1.xml

4. virsh start sle1 --console

infinite loop message:  </pre><pre class="" id="comment_text_0" style="font-size:1.2em;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;width:50em;color:rgb(0,0,0)">....                                                                                                                                                        Using guessed DASD geometry.
Using ECKD scheme (block size  4096), CDL
! No zIPL section in IPL2 record. ! </pre><div>.........</div><div><br></div></div></div></div>