rhel72.xml.install

<domain type="kvm">
  <name>rhel72</name>
  <memory>2097152</memory>
  <vcpu>2</vcpu>
  <cputune>
    <shares>2048</shares>
  </cputune>
<os>
    <type arch="s390x" machine="s390-ccw-virtio">hvm</type>

<!-- Boot Kernel   -->
    <kernel>/var/lib/libvirt/images/rhel72-kernel.boot</kernel>
    <initrd>/var/lib/libvirt/images/rhel72-initrd.boot</initrd>
    <cmdline>inst.vnc inst.vncpassword=12345678 ip=9.60.87.83::9.60.86.1:255.255.254.0:rhel72:eth0:none nameserver=9.60.70.80 elevator=deadline audit_enable=0 audit=0 audit_debug=0</cmdline>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
    <bootmenu enable='yes'/>
</os>
  <iothreads>1</iothreads>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>preserve</on_crash>

 <devices>
  <emulator>/usr/bin/qemu-kvm</emulator>

  <disk type="file" device="cdrom">
     <driver name='qemu' type='raw'/>
     <source file='/var/lib/libvirt/images/RHEL-7.2-20151030.0-Server-s390x-dvd1.iso'/>
     <target dev='sdb' bus='scsi'/>
     <address type='drive' controller='0' bus='0' target='0'/>
  </disk>

<disk type="file" device="disk">
    <driver name="qemu" type="qcow2"/>
    <source file="/var/lib/libvirt/images/rhel72.img"/>
    <target dev="vda" bus="virtio"/>
    <address type="ccw" cssid="0xfe" ssid="0x0" devno="0x0002"/>
  </disk>

  <interface type="bridge">
    <source bridge="vsw_data"/>
    <virtualport type="openvswitch"/>
    <model type="virtio"/>
  </interface>

  <console type="pty">
  <target type="sclp" port="0"/>
  </console>
  <memballoon model="none"/>
 </devices>
</domain>

results matching ""

    No results matching ""