virt-manager/tests/data/cli/compare/virt-xml-edit-device-xpath.xml
Cole Robinson d6b74a83d1 cli: Add xpath.* subargs to XML options
This adds the power of --xml to individual device options. For example
this makes it easier to make custom XML changes for a single --disk
device from both virt-install and virt-xml

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-27 11:46:54 -05:00

16 lines
521 B
XML

<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type="block" device="floppy">
- <source dev="/dev/null"/>
<target dev="fda" bus="fdc"/>
- <boot order="5"/>
+ <boot order="6"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
+ <fakeelement/>
</disk>
<disk type="file" device="disk">
<source file="/tmp/foobar"/>
Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the domain is fully powered off.