[libvirt] [PATCH] [libvirt-tck] vol->as_xml: fix backing store element

Guido Günther agx at sigxcpu.org
Fri Oct 14 09:36:14 UTC 2011


Fix typo that breaks setting the backing store format.
---
 lib/Sys/Virt/TCK/StorageVolBuilder.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Sys/Virt/TCK/StorageVolBuilder.pm b/lib/Sys/Virt/TCK/StorageVolBuilder.pm
index 515795f..da90788 100644
--- a/lib/Sys/Virt/TCK/StorageVolBuilder.pm
+++ b/lib/Sys/Virt/TCK/StorageVolBuilder.pm
@@ -112,7 +112,7 @@ sub as_xml {
 	$w->startTag("backingStore");
 	$w->dataElement("path", $self->{backingFile});
 	if ($self->{backingFormat}) {
-	    $w->emptyTag("format", type => $self->{backinFormat});
+	    $w->emptyTag("format", type => $self->{backingFormat});
 	}
 	if ($self->{secret}) {
 	    $w->startTag("encryption", format => "qcow");
-- 
1.7.6.3




More information about the libvir-list mailing list