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>
2013-09-26 03:35:05 +04:00
<disk type= "file" device= "disk" >
2019-07-04 01:26:57 +03:00
<source file= "/dev/foo/null" />
2013-10-04 05:38:58 +04:00
<target dev= "hda" bus= "usb" removable= "on" />
2013-03-18 01:06:52 +04:00
<serial > frob</serial>
<driver name= "test" type= "raw" />
2019-05-17 18:26:02 +03:00
<wwn > 123456789abcdefa</wwn>
2013-03-18 01:06:52 +04:00
</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" relabel= "yes" >
<label > foo-my-label</label>
</seclabel>
2015-09-05 21:40:45 +03:00
</source>
2013-03-18 01:06:52 +04:00
<target dev= "hdb" bus= "ide" />
</disk>
2015-11-22 04:07:05 +03:00
<disk type= "file" device= "floppy" >
2013-03-18 01:06:52 +04:00
<target dev= "fde" bus= "fdc" />
</disk>
2019-05-20 14:43:34 +03:00
<disk type= "block" device= "lun" sgio= "unfiltered" rawio= "yes" >
2015-03-13 16:38:20 +03:00
<driver name= "qemu" type= "raw" />
<source dev= "/dev/sda" />
<target dev= "hdd" bus= "scsi" />
<readonly />
</disk>
2014-12-07 02:33:11 +03:00
<disk type= "network" device= "cdrom" >
2013-03-18 01:06:52 +04:00
<target dev= "sda" bus= "scsi" />
<readonly />
2014-12-10 02:23:22 +03:00
<source protocol= "http" name= "my/file" >
2014-12-09 17:20:18 +03:00
<host name= "1:2:3:4:5:6:7:8" port= "1122" />
2014-12-07 02:33:11 +03:00
</source>
2013-03-18 01:06:52 +04:00
</disk>
<disk type= "file" device= "floppy" >
<target dev= "fda" bus= "fdc" />
2013-07-12 18:49:15 +04:00
<iotune >
2013-07-15 00: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 18:49:15 +04:00
<total_iops_sec > 5</total_iops_sec>
<total_bytes_sec > 6</total_bytes_sec>
</iotune>
2018-08-24 02:40:18 +03:00
<driver cache= "writeback" discard= "unmap" detect_zeroes= "unmap" io= "native" />
2022-02-27 21:00:56 +03:00
<source file= "/pool-dir/default-vol" startupPolicy= "optional" />
2013-03-18 01:06:52 +04:00
<shareable />
</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" />
2014-12-07 02:33:11 +03:00
<source pool= "anotherPool" volume= "newvol" />
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= "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-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>