<!--
You can load this machine definition into libvirt using:
	sudo virsh define road.xml
-->

<domain type='kvm'>
  <name>road</name>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.15'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='@@POOLSPACE@@/road.qcow2'/>
      <target dev='vda' bus='virtio'/>
    </disk>
    <controller type='usb' index='0'>
    </controller>
    <controller type='virtio-serial' index='0'>
    </controller>
    <filesystem type='mount' accessmode='squash'>
      <source dir='@@TESTDIR@@'/>
      <target dir='testing'/>
    </filesystem>
    <filesystem type='mount' accessmode='squash'>
      <source dir='@@LIBRESWANSRCDIR@@'/>
      <target dir='swansource'/>
    </filesystem>
    <interface type='network'>
      <mac address='12:00:00:AB:CD:02'/>
      <source network='192_1_3'/>
      <model type='virtio'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
    </channel>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' autoport='yes'/>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
    </video>
    <memballoon model='virtio'>
    </memballoon>
  </devices>
  <seclabel type='static' model='dac' relabel='yes'>
   <label>@@USER@@:@@GROUP@@</label>
   <imagelabel>@@USER@@:@@GROUP@@</imagelabel>
  </seclabel>
</domain>
