]> xenbits.xensource.com Git - libvirt.git/commitdiff
Remove erroneous lvm volume format check for backing store.
authorCole Robinson <crobinso@redhat.com>
Mon, 16 Feb 2009 22:47:19 +0000 (22:47 +0000)
committerCole Robinson <crobinso@redhat.com>
Mon, 16 Feb 2009 22:47:19 +0000 (22:47 +0000)
ChangeLog
src/storage_backend_logical.c

index 587429383de3ea1b68ae52cb6dca7f05e46f7a3c..a86f7530efbd7f39dabdc790ab686529e202373e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+Mon Feb 16 17:55:50 EST 2009 Cole Robinson <crobinso@redhat.com>
+
+       * src/storage_backend_logical.c: Remove erroneous lvm volume
+       format check for backing store.
+
 Mon Feb 16 17:53:24 EST 2009 Cole Robinson <crobinso@redhat.com>
 
-       * python/generate.py: Skip bindings for virSaveLastError and
+       * python/generator.py: Skip bindings for virSaveLastError and
        virFreeError
 
 Fri Feb 13 19:04:57 IST 2009 Mark McLoughlin <markmc@redhat.com>
index 702a191583222f80ca76b90bc683765b7f8b501c..cbd27651adefe4c8bfd1b5845d44b73438e1a127 100644 (file)
@@ -582,12 +582,6 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn,
     const char **cmdargv = cmdargvnew;
 
     if (vol->backingStore.path) {
-        if (vol->backingStore.format !=
-            VIR_STORAGE_POOL_LOGICAL_LVM2) {
-            virStorageReportError(conn, VIR_ERR_INTERNAL_ERROR, "%s",
-                                  _("LVM snapshots must be backed by another LVM volume"));
-            return -1;
-        }
         cmdargv = cmdargvsnap;
     }