mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
Remove erroneous lvm volume format check for backing store.
This commit is contained in:
parent
a3d1fb9cf3
commit
c482439232
@ -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>
|
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
|
virFreeError
|
||||||
|
|
||||||
Fri Feb 13 19:04:57 IST 2009 Mark McLoughlin <markmc@redhat.com>
|
Fri Feb 13 19:04:57 IST 2009 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
@ -582,12 +582,6 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn,
|
|||||||
const char **cmdargv = cmdargvnew;
|
const char **cmdargv = cmdargvnew;
|
||||||
|
|
||||||
if (vol->backingStore.path) {
|
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;
|
cmdargv = cmdargvsnap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user