mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-10 01:18:03 +03:00
d6b74a83d1
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>
16 lines
521 B
XML
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.
|