virt-manager/tests/cli-test-xml/compare/virt-xml-start-select-disk-bootorder.xml
Marc Hartmayer 908b8e8d7c tests: virt-xml: Add test cases for --start option
The test cases verify that:

 + --start works
 + --define --start works
 + --no-define --start works
 + --start works in combination with --add and --remove
 + combination of --start --update isn't valid
 + combination of --define --no-define --start isn't valid

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
2019-03-06 13:15:38 -05:00

33 lines
985 B
XML

<driver name="qemu"/>
<source dev="/dev/null"/>
<target dev="vda" bus="virtio"/>
- <boot order="10"/>
+ <boot order="1"/>
</disk>
<disk type="block" device="disk">
<driver name="qemu"/>
<source dev="/dev/null"/>
<target dev="vdb" bus="virtio"/>
- <boot order="3"/>
+ <boot order="4"/>
</disk>
<disk type="block" device="cdrom">
<target dev="hdc" bus="ide"/>
<readonly/>
- <boot order="1"/>
+ <boot order="2"/>
<address type="drive" controller="0" bus="1" target="0" unit="0"/>
</disk>
<controller type="ide" index="0"/>
@@
<source network="default"/>
<target dev="testnet0"/>
<model type="virtio"/>
- <boot order="2"/>
+ <boot order="3"/>
</interface>
<interface type="network">
<mac address="52:54:00:11:fa:28"/>
Domain 'test-state-shutoff' defined successfully.
Domain 'test-state-shutoff' started successfully.