Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 79a6754

Browse files
committed
Add new disk target attribute
1 parent 8e2773b commit 79a6754

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/cli-test-xml/compare/clone-auto1.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,31 @@
2222
<disk type="block" device="disk">
2323
<source dev="/disk-pool/diskvol1-clone"/>
2424
<target dev="sda" bus="scsi"/>
25-
<address type="drive" controller="0" bus="0" unit="0"/>
25+
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
2626
<driver name="qemu" type="raw"/>
2727
</disk>
2828
<disk type="block" device="cdrom">
2929
<target dev="sdb" bus="scsi"/>
3030
<readonly/>
31-
<address type="drive" controller="0" bus="0" unit="1"/>
31+
<address type="drive" controller="0" bus="0" target="0" unit="1"/>
3232
</disk>
3333
<disk type="block" device="disk">
3434
<source dev="/default-pool/collidevol1.img"/>
3535
<target dev="sdc" bus="scsi"/>
3636
<readonly/>
37-
<address type="drive" controller="0" bus="0" unit="2"/>
37+
<address type="drive" controller="0" bus="0" target="0" unit="2"/>
3838
</disk>
3939
<disk type="file" device="disk">
4040
<driver name="qemu" type="qcow2"/>
4141
<target dev="sdd" bus="scsi"/>
42-
<address type="drive" controller="0" bus="0" unit="3"/>
42+
<address type="drive" controller="0" bus="0" target="0" unit="3"/>
4343
<source file="/default-pool/default-vol-clone"/>
4444
</disk>
4545
<disk type="block" device="disk">
4646
<source dev="/default-pool/sharevol.img"/>
4747
<target dev="sdx" bus="scsi"/>
4848
<shareable/>
49-
<address type="drive" controller="3" bus="0" unit="2"/>
49+
<address type="drive" controller="3" bus="0" target="0" unit="2"/>
5050
</disk>
5151
<controller type="scsi" index="0"/>
5252
<controller type="scsi" index="1"/>

tests/cli-test-xml/compare/clone-auto2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
2222
<disk type="file" device="disk">
2323
<target dev="hda" bus="ide"/>
24-
<address type="drive" controller="0" bus="0" unit="0"/>
24+
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
2525
<source file="/default-pool/newvm.img"/>
2626
</disk>
2727
<controller type="ide" index="0"/>

0 commit comments

Comments
 (0)