mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Moves the libxml2 bits to a separate xmlapi file and class, a bunch of cleanups to xmlbuilder internals dealing with XML stuff. The main point is to experiment with different XML library impls, since libxml2 is unfun to deal with and we are having python3 issues like https://bugzilla.gnome.org/show_bug.cgi?id=776815
54 lines
1.9 KiB
XML
54 lines
1.9 KiB
XML
<domain type="xen">
|
|
<name>TestGuest</name>
|
|
<currentMemory>204800</currentMemory>
|
|
<memory>409600</memory>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<description>foooo barrrr somedesc</description>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<acpi/><apic/>
|
|
</features>
|
|
<clock offset="localtime"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<vcpu>5</vcpu>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type="block" device="floppy">
|
|
<source dev="/dev/null"/>
|
|
<target dev="fda" bus="fdc"/>
|
|
</disk>
|
|
<graphics type="vnc" passwd="newpass" port="6000" listen="1.2.3.4" keymap="en-us"/>
|
|
<graphics type="vnc" xauth="fooauth" display="6:1"/>
|
|
<graphics type="vnc"/>
|
|
<graphics type="vnc" port="-1" socket="/var/lib/libvirt/socket/foo"/>
|
|
<graphics type="vnc" autoport="no">
|
|
<listen type="network" network="mynewnet"/>
|
|
</graphics>
|
|
<graphics type="spice" passwd="newpass" port="6000" tlsPort="6001" listen="1.2.3.4" passwdValidTo="2011-01-07T19:08:00" connected="disconnect" defaultMode="secure">
|
|
<listen type="address" address="1.2.3.4"/>
|
|
<channel name="inputs" mode="secure"/>
|
|
<channel name="main" mode="any"/>
|
|
<channel name="record" mode="insecure"/>
|
|
<channel name="cursor" mode="any"/>
|
|
<channel name="playback" mode="insecure"/>
|
|
<channel name="display" mode="secure"/>
|
|
<gl enable="yes" rendernode="/dev/dri/foo"/>
|
|
<image compression="auto_glz"/>
|
|
<streaming mode="filter"/>
|
|
<clipboard copypaste="yes"/>
|
|
<mouse mode="client"/>
|
|
<filetransfer enable="no"/>
|
|
</graphics>
|
|
</devices>
|
|
<seclabel type="static" model="selinux">
|
|
<label>foolabel</label>
|
|
<imagelabel>imagelabel</imagelabel>
|
|
</seclabel>
|
|
</domain>
|