[virt-tools-list] [virt-manager PATCH] test: Fix tests with latest libvirt
Cole Robinson
crobinso at redhat.com
Mon May 5 13:20:44 UTC 2014
On 05/04/2014 10:59 PM, Chen Hanxiao wrote:
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
> tests/cli-test-xml/compare/virt-clone-clone-auto1.xml | 6 ++++++
> tests/cli-test-xml/compare/virt-clone-clone-auto2.xml | 1 +
> 2 files changed, 7 insertions(+)
>
> diff --git a/tests/cli-test-xml/compare/virt-clone-clone-auto1.xml b/tests/cli-test-xml/compare/virt-clone-clone-auto1.xml
> index b9fde61..03b7b5c 100644
> --- a/tests/cli-test-xml/compare/virt-clone-clone-auto1.xml
> +++ b/tests/cli-test-xml/compare/virt-clone-clone-auto1.xml
> @@ -22,16 +22,19 @@
> <disk type="block" device="floppy">
> <driver type="vmdk"/>
> <source dev="/dev/disk-pool/diskvol1-clone"/>
> + <backingStore/>
> <target dev="fda" bus="fdc"/>
> <address type="drive" controller="0" bus="0" target="0" unit="0"/>
> </disk>
> <disk type="block" device="disk">
> <source dev="/dev/disk-pool/diskvol2"/>
> + <backingStore/>
> <target dev="sda" bus="scsi"/>
> <readonly/>
> <address type="drive" controller="0" bus="0" target="0" unit="0"/>
> </disk>
> <disk type="block" device="cdrom">
> + <backingStore/>
> <target dev="sdb" bus="scsi"/>
> <readonly/>
> <address type="drive" controller="0" bus="0" target="0" unit="1"/>
> @@ -39,6 +42,7 @@
> <disk type="block" device="disk">
> <driver type="qcow2"/>
> <source dev="/dev/default-pool/collidevol1.img"/>
> + <backingStore/>
> <target dev="sdc" bus="scsi"/>
> <readonly/>
> <shareable/>
> @@ -46,11 +50,13 @@
> </disk>
> <disk type="file" device="disk">
> <source file="/dev/default-pool/default-vol-clone"/>
> + <backingStore/>
> <target dev="hda" bus="ide"/>
> <address type="drive" controller="0" bus="0" target="0" unit="0"/>
> </disk>
> <disk type="file" device="disk">
> <source file="/dev/default-pool/testvol2-clone.img"/>
> + <backingStore/>
> <target dev="hdb" bus="ide"/>
> <address type="drive" controller="0" bus="0" target="0" unit="1"/>
> </disk>
> diff --git a/tests/cli-test-xml/compare/virt-clone-clone-auto2.xml b/tests/cli-test-xml/compare/virt-clone-clone-auto2.xml
> index fb78434..bbbde76 100644
> --- a/tests/cli-test-xml/compare/virt-clone-clone-auto2.xml
> +++ b/tests/cli-test-xml/compare/virt-clone-clone-auto2.xml
> @@ -22,6 +22,7 @@
> <disk type="file" device="disk">
> <driver type="qcow2"/>
> <source file="/dev/default-pool/newvm.img"/>
> + <backingStore/>
> <target dev="hda" bus="ide"/>
> <address type="drive" controller="0" bus="0" target="0" unit="0"/>
> </disk>
>
Hmm, what is actually going on here? I know latest libvirt added backingStore
chain XML to the domain XML, but what does a bare <backingStore/> mean here?
Anyone on the libvirt side know if this is intentional?
- Cole
More information about the virt-tools-list
mailing list