[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH 4/4] storage: disk: Use capacity, not allocation, when creating volume.
- From: Cole Robinson <crobinso redhat com>
- To: libvir-list redhat com
- Cc:
- Subject: [libvirt] [PATCH 4/4] storage: disk: Use capacity, not allocation, when creating volume.
- Date: Fri, 10 Jul 2009 15:32:23 -0400
There isn't any way to dictate allocation when creating disk volumes, so
capacity is the only relevant value.
---
src/storage_backend_disk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/storage_backend_disk.c b/src/storage_backend_disk.c
index e50825b..ae2acae 100644
--- a/src/storage_backend_disk.c
+++ b/src/storage_backend_disk.c
@@ -563,7 +563,7 @@ virStorageBackendDiskCreateVol(virConnectPtr conn,
if (virStorageBackendDiskPartBoundries(conn, pool, &startOffset,
&endOffset,
- vol->allocation) != 0) {
+ vol->capacity) != 0) {
return -1;
}
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]