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" />
2014-05-31 17:15:03 -04:00
<initarg > foo</initarg>
<initarg > bar baz</initarg>
<initarg > frib</initarg>
2013-03-17 17:06:52 -04:00
</os>
2018-02-14 15:35:53 -05:00
<features >
<apic eoi= "on" />
2013-09-27 15:35:27 -04:00
<hyperv >
<spinlocks state= "on" retries= "54321" />
<relaxed state= "on" />
</hyperv>
2015-04-03 00:04:08 +02:00
<vmport state= "on" />
2013-09-27 15:35:27 -04:00
<viridian />
2015-09-08 12:03:04 +02:00
<kvm >
<hidden state= "on" />
</kvm>
2015-10-01 12:37:42 +05:30
<pvspinlock state= "on" />
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>
2017-02-21 17:27:56 +03:00
<on_crash > restart</on_crash>
2015-10-07 16:20:13 +05:30
<on_lockfailure > restart</on_lockfailure>
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-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>
2014-02-06 22:41:00 +08:00
<blkiotune >
<weight > 200</weight>
<device >
<path > /home/1.img</path>
<weight > 300</weight>
</device>
</blkiotune>
2014-06-05 08:52:24 +08: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>
<memoryBacking >
2014-07-30 14:34:03 +08:00
<hugepages >
<page size= "1" unit= "G" nodeset= "1,5-8" />
</hugepages>
2014-06-05 08:52:24 +08:00
<nosharepages />
<locked />
</memoryBacking>
2017-03-05 21:04:34 -05:00
<resource >
<partition > /virtualmachines/production</partition>
</resource>
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>