115 lines
3.2 KiB
XML
115 lines
3.2 KiB
XML
<domain type="test" id="1234">
|
|
<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>
|
|
<boot dev="fd"/>
|
|
<init>/sbin/init</init>
|
|
<bootmenu enable="no"/>
|
|
<bios useserial="yes"/>
|
|
<initarg>foo</initarg>
|
|
<initarg>bar baz</initarg>
|
|
<initarg>frib</initarg>
|
|
</os>
|
|
<features><apic eoi="on"/>
|
|
<hyperv>
|
|
<spinlocks state="on" retries="54321"/>
|
|
<relaxed state="on"/>
|
|
</hyperv>
|
|
<vmport state="on"/>
|
|
<viridian/>
|
|
<kvm>
|
|
<hidden state="on"/>
|
|
</kvm>
|
|
<pvspinlock state="on"/>
|
|
</features>
|
|
<numatune>
|
|
<memory nodeset="2,4,6"/>
|
|
</numatune>
|
|
<cpu match="strict" mode="custom">
|
|
<model>qemu64</model>
|
|
<vendor>qemuvendor</vendor>
|
|
<topology sockets="4" cores="3" threads="1"/>
|
|
<feature policy="disable" name="x2apic"/>
|
|
<feature policy="forbid" name="lahf_lm"/>
|
|
<feature policy="optional" name="cr8legacy"/>
|
|
<feature policy="require" name="addfeature"/>
|
|
</cpu>
|
|
<clock offset="localtime">
|
|
<timer name="rtc" tickpolicy="merge"/>
|
|
<timer name="hpet" present="no"/>
|
|
</clock>
|
|
<on_poweroff>restart</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<on_lockfailure>restart</on_lockfailure>
|
|
<pm>
|
|
<suspend-to-mem enabled="yes"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<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"/>
|
|
<source file="/dev/default-pool/testvol1.img"/>
|
|
<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"/>
|
|
<source dev="/dev/null"/>
|
|
<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>
|
|
<graphics type="vnc" display=":3.4" xauth="/tmp/.Xauthority"/>
|
|
<console type="pty"/>
|
|
<memballoon model="none"/>
|
|
</devices>
|
|
<title>Hey title changed!</title>
|
|
<description>Hey desc changed&</description>
|
|
<blkiotune>
|
|
<weight>200</weight>
|
|
<device>
|
|
<path>/home/1.img</path>
|
|
<weight>300</weight>
|
|
</device>
|
|
</blkiotune>
|
|
<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>
|
|
<hugepages>
|
|
<page size="1" unit="G" nodeset="1,5-8"/>
|
|
</hugepages>
|
|
<nosharepages/>
|
|
<locked/>
|
|
</memoryBacking>
|
|
<resource>
|
|
<partition>/virtualmachines/production</partition>
|
|
</resource>
|
|
<bootloader>pygrub</bootloader>
|
|
<idmap>
|
|
<uid start="0" target="1000" count="10"/>
|
|
<gid start="0" target="1000" count="10"/>
|
|
</idmap>
|
|
</domain>
|