virt-manager/tests/cli-test-xml/compare/virt-xml-edit-simple-disk.xml
Cole Robinson 46ec093a28 virt-xml: Make it more clear when changes take effect
shutdown could be interpreted as a soft reboot, which won't
apply the changes
2018-03-25 19:22:28 -04:00

15 lines
550 B
XML

<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type="block" device="floppy">
- <source dev="/dev/null"/>
+ <source dev="/dev/zero" startupPolicy="optional"/>
<target dev="fda" bus="fdc"/>
<boot order="5"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
+ <readonly/>
</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.