virt-manager/tests/xmlparse-xml/change-addr-out.xml
Cole Robinson f04b284f21 xmlbuilder: Abstract libxml2 API and cleanup
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
2018-02-20 11:23:37 -05:00

42 lines
1.3 KiB
XML

<domain type="kvm">
<name>TestGuest</name>
<currentMemory>204800</currentMemory>
<memory>409600</memory>
<uuid>12345678-1234-1234-1234-123456789012</uuid>
<os>
<type arch="i686" machine="foobar">hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/><apic/>
</features>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type="block" device="disk">
<source dev="/dev/HostVG/QEMUGuest1"/>
<target dev="hda" bus="ide"/>
<address type="drive" controller="1" bus="4" unit="32" target="7"/>
</disk>
<disk type="block" device="disk">
<source dev="/dev/HostVG/QEMUGuest2"/>
<target dev="hdb" bus="ide"/>
</disk>
<controller type="scsi" index="8">
<address type="pci" domain="1" bus="4" slot="10" function="6"/>
<alias name="frob"/>
</controller>
<channel type="pty">
<target type="virtio" name="org.linux-kvm.port.wizz"/>
<address type="virtio-serial" controller="0" bus="0" port="4"/>
<alias name="channel1"/>
</channel>
<smartcard mode="host">
<address type="ccid" controller="0" slot="0"/>
</smartcard>
</devices>
</domain>