mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
51663a2c8c
The Guest object passed in by the user is no longer altered in place, instead we act on copies of the original XML. We need to rework how unattended/cloudinit device altering works a bit to handle this. There's some XML churn because working on parsexml gives different output ordering, but this is expected. Signed-off-by: Cole Robinson <crobinso@redhat.com>
76 lines
1.9 KiB
XML
76 lines
1.9 KiB
XML
<domain type="test">
|
|
<name>vm1</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="network"/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
</features>
|
|
<clock offset="utc"/>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/test-hv</emulator>
|
|
<controller type="usb" model="ich9-ehci1"/>
|
|
<controller type="usb" model="ich9-uhci1">
|
|
<master startport="0"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci2">
|
|
<master startport="2"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci3">
|
|
<master startport="4"/>
|
|
</controller>
|
|
<interface type="user">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="e1000"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
</devices>
|
|
<on_reboot>destroy</on_reboot>
|
|
</domain>
|
|
<domain type="test">
|
|
<name>vm1</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="network"/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
</features>
|
|
<clock offset="utc"/>
|
|
<pm>
|
|
<suspend-to-mem enabled="no"/>
|
|
<suspend-to-disk enabled="no"/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/test-hv</emulator>
|
|
<controller type="usb" model="ich9-ehci1"/>
|
|
<controller type="usb" model="ich9-uhci1">
|
|
<master startport="0"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci2">
|
|
<master startport="2"/>
|
|
</controller>
|
|
<controller type="usb" model="ich9-uhci3">
|
|
<master startport="4"/>
|
|
</controller>
|
|
<interface type="user">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="e1000"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
</devices>
|
|
</domain>
|