[libvirt] [PATCH 9/9] Allow creating volumes with a backing store but no capacity
Peter Krempa
pkrempa at redhat.com
Wed Feb 25 09:16:26 UTC 2015
On Thu, Feb 19, 2015 at 15:59:17 +0100, Ján Tomko wrote:
> The tool creating the image can get the capacity from the backing
> storage. Just refresh the volume afterwards.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=958510
> ---
> src/storage/storage_backend.c | 6 ++++++
> src/storage/storage_backend_fs.c | 7 +++++++
> src/storage/storage_backend_rbd.c | 6 ++++++
> src/storage/storage_backend_sheepdog.c | 6 ++++++
> src/storage/storage_driver.c | 14 ++++++++++++-
> tests/storagevolxml2argvdata/qcow2-nocapacity.argv | 5 +++++
> tests/storagevolxml2argvtest.c | 20 +++++++++++--------
> .../vol-qcow2-nocapacity-backing.xml | 23 ++++++++++++++++++++++
> 8 files changed, 78 insertions(+), 9 deletions(-)
> create mode 100644 tests/storagevolxml2argvdata/qcow2-nocapacity.argv
> create mode 100644 tests/storagevolxml2xmlin/vol-qcow2-nocapacity-backing.xml
>
This is the correct place for the hunk I was complaining about.
ACK after the release.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150225/7d033d5c/attachment-0001.sig>
More information about the libvir-list
mailing list