<?xml version="1.0" encoding="UTF-8"?>
<!-- 
     Image description of the Kronolith appliance 

     To use this, run
     
     virt-image -i image-hvm.xml -n HOST &dash;&dash;vnc
-->
<image>
  <!-- 
       The virtual machine 
  -->
  <name>kronolith-example-hvm</name>
  <description>
    A Kronolith appliance, suitable for HVM
  </description>
  <domain>
    <!-- Describe how to boot, and constraints on the host on which
         we can boot. Here, we boot on a fullyvirt host -->
    <boot type="hvm">
      <!-- Constraints on the host platform: we want an i686 arch -->
      <guest>
        <arch>i686</arch>
      </guest>
      <!-- How to boot the domain: boot from hard disk -->
      <os>
        <loader dev="hd"/>
      </os>
      <!-- Map the disk images into the guest. -->
      <drive disk="root.raw"/>
      <drive disk="database.raw"/>
    </boot>
    <!-- Some fairly standard hardware attributes, like number of CPU's,
         size of memory, that we need one network interface and export
         graphics -->
    <devices>
      <vcpu>1</vcpu>
      <memory>262144</memory>
      <interface/>
      <graphics/>
    </devices>
  </domain>
  <!-- 
       The storage backing the virtual machine. File names are relative to
       this XML file, and used to identify the disks when mapping them into
       the guest.

       Currently, only raw and iso are supported as formats
  -->
  <storage>
    <disk file="root.raw" use="system" format="raw"/>
    <disk file="database.raw" use="user" format="raw"/>
  </storage>
</image>
