2013-03-17 17:06:52 -04:00
<domain type= "xen" >
<name > TestGuest</name>
<currentMemory > 204800</currentMemory>
<memory > 409600</memory>
<uuid > 12345678-1234-1234-1234-123456789012</uuid>
<os >
<type arch= "i686" > hvm</type>
<loader > /usr/lib/xen/boot/hvmloader</loader>
<boot dev= "hd" />
</os>
<features >
<acpi /> <apic />
</features>
<clock offset= "utc" />
<on_poweroff > destroy</on_poweroff>
<on_reboot > restart</on_reboot>
2017-02-21 17:27:56 +03:00
<on_crash > destroy</on_crash>
2013-03-17 17:06:52 -04:00
<vcpu > 5</vcpu>
<devices >
<emulator > /usr/lib/xen/bin/qemu-dm</emulator>
2013-09-25 19:35:05 -04:00
<disk type= "file" device= "disk" >
2013-09-26 14:47:01 +02:00
<source file= "/dev/null" />
2013-10-04 03:38:58 +02:00
<target dev= "hda" bus= "usb" removable= "on" />
2013-03-17 17:06:52 -04:00
<serial > frob</serial>
<driver name= "test" type= "raw" />
</disk>
<disk type= "block" device= "disk" >
2015-09-05 14:40:45 -04:00
<source dev= "/dev/null" >
<seclabel model= "selinux" relabel= "no" />
2016-06-11 17:43:18 -04:00
<seclabel model= "dac" relabel= "yes" >
<label > foo-my-label</label>
</seclabel>
2015-09-05 14:40:45 -04:00
</source>
2013-03-17 17:06:52 -04:00
<target dev= "hdb" bus= "ide" />
</disk>
2015-11-21 20:07:05 -05:00
<disk type= "file" device= "floppy" >
2013-03-17 17:06:52 -04:00
<target dev= "fde" bus= "fdc" />
</disk>
2015-03-13 14:38:20 +01:00
<disk type= "block" device= "lun" sgio= "unfiltered" >
<driver name= "qemu" type= "raw" />
<source dev= "/dev/sda" />
<target dev= "hdd" bus= "scsi" />
<readonly />
</disk>
2014-12-06 18:33:11 -05:00
<disk type= "network" device= "cdrom" >
2013-03-17 17:06:52 -04:00
<target dev= "sda" bus= "scsi" />
<readonly />
2014-12-09 18:23:22 -05:00
<source protocol= "http" name= "my/file" >
2014-12-09 09:20:18 -05:00
<host name= "1:2:3:4:5:6:7:8" port= "1122" />
2014-12-06 18:33:11 -05:00
</source>
2013-03-17 17:06:52 -04:00
</disk>
<disk type= "file" device= "floppy" >
<target dev= "fda" bus= "fdc" />
2013-07-12 10:49:15 -04:00
<iotune >
2013-07-14 16:01:38 -04:00
<read_iops_sec > 0</read_iops_sec>
<read_bytes_sec > 0</read_bytes_sec>
<write_iops_sec > 0</write_iops_sec>
<write_bytes_sec > 0</write_bytes_sec>
2013-07-12 10:49:15 -04:00
<total_iops_sec > 5</total_iops_sec>
<total_bytes_sec > 6</total_bytes_sec>
</iotune>
2014-04-29 10:29:33 -04:00
<driver cache= "writeback" discard= "unmap" io= "native" />
2013-10-03 14:48:09 +02:00
<source file= "/dev/default-pool/default-vol" startupPolicy= "optional" />
2013-03-17 17:06:52 -04:00
<shareable />
</disk>
<disk type= "block" device= "floppy" >
<driver name= "phy" cache= "none" />
2013-09-26 14:47:01 +02:00
<source dev= "/dev/null" />
2013-03-17 17:06:52 -04:00
<target dev= "fdb" bus= "fdc" />
</disk>
<disk type= "block" device= "disk" >
<driver name= "qemu" type= "qcow2" cache= "none" />
2013-09-26 14:47:01 +02:00
<source dev= "/dev/null" />
2013-03-17 17:06:52 -04:00
<target dev= "vda" bus= "virtio" />
</disk>
2014-09-26 15:24:34 +02:00
<disk type= "volume" device= "disk" >
<driver name= "qemu" />
2014-12-06 18:33:11 -05:00
<source pool= "anotherPool" volume= "newvol" />
2014-12-06 20:36:12 -05:00
<target dev= "vdb" bus= "virtio" />
2014-09-26 15:24:34 +02:00
<readonly />
</disk>
2014-12-06 18:33:11 -05:00
<disk type= "network" device= "disk" >
<driver name= "qemu" type= "raw" />
<source protocol= "gluster" name= "new-val/vol" >
<host name= "diff.example.org" port= "1234" />
<host name= "mon2.example.org" port= "6322" />
<host name= "mon3.example.org" port= "6322" />
</source>
<target dev= "vdc" bus= "virtio" />
</disk>
<disk type= "network" device= "disk" >
<driver name= "qemu" type= "raw" />
<source protocol= "nbd" >
<host transport= "unix" socket= "/var/run/nbdsock" />
</source>
<target dev= "vdd" bus= "virtio" />
</disk>
2013-03-17 17:06:52 -04:00
<input type= "mouse" bus= "ps2" />
2014-02-06 12:12:12 +01:00
<graphics type= "vnc" display= ":3.4" xauth= "/tmp/.Xauthority" />
2013-03-17 17:06:52 -04:00
<console type= "pty" />
</devices>
</domain>