2013-09-23 21:27:42 -04:00
<domain type= "test" id= "1234" >
2013-03-17 17:06:52 -04:00
<name > change_name</name>
<currentMemory > 1024000</currentMemory>
<memory > 2048000</memory>
<uuid > 11111111-2222-3333-4444-555555555555</uuid>
<os >
<type machine= "pc-0.11" > xen</type>
<loader > /foo/loader</loader>
2013-07-24 12:35:03 -04:00
<boot dev= "fd" />
2013-07-24 14:37:07 -04:00
<init > /sbin/init</init>
2013-03-17 17:06:52 -04:00
<bootmenu enable= "no" />
2013-09-04 11:57:26 -04:00
<bios useserial= "yes" />
2013-03-17 17:06:52 -04:00
</os>
2013-09-27 15:35:27 -04:00
<features > <apic eoi= "on" />
<hyperv >
<spinlocks state= "on" retries= "54321" />
<relaxed state= "on" />
</hyperv>
<viridian />
2013-03-17 17:06:52 -04:00
</features>
<numatune >
<memory nodeset= "2,4,6" />
</numatune>
2013-04-11 13:45:46 +08:00
<cpu match= "strict" mode= "custom" >
2013-03-17 17:06:52 -04:00
<model > qemu64</model>
<vendor > qemuvendor</vendor>
<topology sockets= "4" cores= "3" threads= "1" />
2013-07-17 17:11:18 -04:00
<feature policy= "disable" name= "x2apic" />
2013-09-10 18:32:10 -04:00
<feature policy= "forbid" name= "lahf_lm" />
<feature policy= "optional" name= "cr8legacy" />
2014-01-31 13:44:50 -05:00
<feature policy= "require" name= "addfeature" />
2013-03-17 17:06:52 -04:00
</cpu>
2013-10-05 16:05:31 -04:00
<clock offset= "localtime" >
<timer name= "rtc" tickpolicy= "merge" />
<timer name= "hpet" present= "no" />
</clock>
2013-07-17 17:58:24 -04:00
<on_poweroff > restart</on_poweroff>
<on_reboot > destroy</on_reboot>
<on_crash > destroy</on_crash>
2014-02-02 16:12:29 -05:00
<pm >
<suspend-to-mem enabled= "yes" />
<suspend-to-disk enabled= "no" />
</pm>
2013-03-17 17:06:52 -04:00
<vcpu cpuset= "1-5,15" current= "10" > 12</vcpu>
<devices >
<emulator > /usr/binnnn/fooemu</emulator>
<disk type= "file" device= "floppy" >
<driver name= "qemu" type= "qcow2" />
2013-07-26 04:06:28 +02:00
<source file= "/dev/default-pool/testvol1.img" />
2013-03-17 17:06:52 -04:00
<target dev= "fda" bus= "fdc" />
</disk>
<disk type= "file" device= "disk" >
<driver name= "qemu" type= "raw" />
<source file= "/tmp/test.img" />
<target dev= "vda" bus= "virtio" />
</disk>
<disk type= "block" device= "disk" >
<driver name= "qemu" />
2013-09-26 14:47:01 +02:00
<source dev= "/dev/null" />
2013-03-17 17:06:52 -04:00
<target dev= "vdb" bus= "virtio" />
</disk>
<disk type= "block" device= "cdrom" >
<target dev= "hdc" bus= "ide" />
<readonly />
</disk>
<interface type= "network" >
<source network= "default" />
<mac address= "22:22:33:44:55:66" />
<model type= "virtio" />
</interface>
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" />
<memballoon model= "none" />
</devices>
2013-07-16 12:30:43 -04:00
<seclabel type= "static" model= "apparmor" relabel= "yes" >
2013-03-17 17:06:52 -04:00
<label > barlabel</label>
<imagelabel > fooimage</imagelabel>
</seclabel>
2013-09-24 12:56:16 +02:00
<title > Hey title changed!</title>
2013-03-17 17:06:52 -04:00
<description > Hey desc changed& </description>
<memoryBacking >
<hugepages />
2014-03-22 18:15:46 +08:00
<nosharepages />
<locked />
2013-03-17 17:06:52 -04:00
</memoryBacking>
2014-02-24 21:02:31 -05:00
<memtune >
<hard_limit > 2048</hard_limit>
<soft_limit > 200</soft_limit>
<swap_hard_limit > 400</swap_hard_limit>
<min_guarantee > 500</min_guarantee>
</memtune>
2014-02-06 22:41:00 +08:00
<blkiotune >
<weight > 200</weight>
<device >
<path > /home/1.img</path>
<weight > 300</weight>
</device>
</blkiotune>
2013-07-17 13:06:01 -04:00
<bootloader > pygrub</bootloader>
2014-02-09 23:25:25 +08:00
<idmap >
<uid start= "0" target= "1000" count= "10" />
<gid start= "0" target= "1000" count= "10" />
</idmap>
2013-03-17 17:06:52 -04:00
</domain>