<image>
  <name>test-image</name>
  <label>A simple test image</label>
  <domain>
    <boot type='xen'>
      <guest>
        <os_type>xen</os_type>
        <arch>i686</arch>
        <features><pae/></features>
      </guest>
      <os>
        <kernel>/foo/kernel</kernel>
        <initrd>/foo/initrd</initrd>
        <cmdline>ro quiet</cmdline>
      </os>
      <drive disk="root.raw" target="xvda"/>
      <drive disk="data.raw" target="xvdb"/>
      <drive disk="scratch.raw" target="xvdc"/>
    </boot>
    <devices>
       <vcpu>7</vcpu>
       <memory>262144</memory>
       <interface/>
       <graphics/>
    </devices>
  </domain>
  <storage>
    <disk file="disk.img"/>
    <disk size="4096" use="system">
      <partition file="boot.img"/>
      <partition file="root.img"/>
    </disk>
    <disk file="root.raw" format="raw" size="4096" use="scratch"/>
    <disk file="data.raw" format="raw" size='2048' use="scratch"/>
    <disk file="scratch.raw" format="raw" size='100' use='scratch'/>
  </storage>
</image>
