2013-03-18 01: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-18 01:06:52 +04:00
<vcpu > 5</vcpu>
<devices >
<emulator > /usr/lib/xen/bin/qemu-dm</emulator>
<disk type= "file" device= "disk" >
<source file= "/tmp/test.img" />
<target dev= "hda" bus= "ide" />
<serial > WD-WMAP9A966149</serial>
</disk>
<disk type= "block" device= "disk" >
2015-09-05 21:40:45 +03:00
<source dev= "/dev/null" >
<seclabel model= 'selinux' relabel= 'no' />
2016-06-12 00:43:18 +03:00
<seclabel model= 'dac' />
2015-09-05 21:40:45 +03:00
</source>
2013-03-18 01:06:52 +04:00
<target dev= "hdb" bus= "ide" />
</disk>
<disk type= "block" device= "cdrom" >
2013-09-26 16:47:01 +04:00
<source dev= "/dev/null" />
2013-03-18 01:06:52 +04:00
<target dev= "hdc" bus= "ide" />
<driver name= 'phy' error_policy= 'stop' />
<readonly />
</disk>
2015-03-13 16:38:20 +03:00
<disk type= "block" device= "lun" >
<driver name= 'qemu' type= 'raw' />
<source dev= '/dev/sda' />
<target dev= 'hdd' bus= 'scsi' />
<readonly />
</disk>
2013-03-18 01:06:52 +04:00
<disk type= "block" device= "cdrom" >
<target dev= "sda" bus= "scsi" />
<readonly />
</disk>
<disk type= "block" device= "floppy" >
<target dev= "fda" bus= "fdc" />
2013-07-12 18:49:15 +04:00
<iotune >
<read_iops_sec > 1</read_iops_sec>
<read_bytes_sec > 2</read_bytes_sec>
<write_iops_sec > 3</write_iops_sec>
<write_bytes_sec > 4</write_bytes_sec>
</iotune>
2013-03-18 01:06:52 +04:00
</disk>
<disk type= "block" device= "floppy" >
<driver name= "phy" cache= "none" />
2013-09-26 16:47:01 +04:00
<source dev= "/dev/null" />
2013-03-18 01: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 16:47:01 +04:00
<source dev= "/dev/null" />
2013-03-18 01:06:52 +04:00
<target dev= "vda" bus= "virtio" />
</disk>
2014-09-26 17:24:34 +04:00
<disk type= 'volume' device= 'disk' >
<driver name= 'qemu' />
<source pool= 'defaultPool' volume= 'foobar' />
2014-12-07 04:36:12 +03:00
<target dev= 'vdb' bus= 'virtio' />
2014-09-26 17:24:34 +04:00
<readonly />
</disk>
2014-12-07 02:33:11 +03:00
<disk type= 'network' device= 'disk' >
<driver name= 'qemu' type= 'raw' />
<source protocol= 'rbd' name= 'pool/image' >
<host name= 'mon1.example.org' port= '6321' />
<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-18 01:06:52 +04:00
<input type= "mouse" bus= "ps2" />
2014-02-06 15:12:12 +04:00
<graphics type= "vnc" display= ":3.4" xauth= "/tmp/.Xauthority" />
2013-03-18 01:06:52 +04:00
<console type= "pty" />
</devices>
</domain>