Bug 1150411 - 'virsh vol-create-as': Do *require* to specify a size when creating a qcow2 wrapper around an existing disk image
Summary: 'virsh vol-create-as': Do *require* to specify a size when creating a qcow2 w...
Keywords:
Status: CLOSED DUPLICATE of bug 1104862
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-08 08:38 UTC by Kashyap Chamarthy
Modified: 2014-10-08 09:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-08 09:21:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Kashyap Chamarthy 2014-10-08 08:38:39 UTC
[Suggestion from Eric Blake via libvir-list]


When creating an empty qcow2 overlay with 'virsh vol-create-as', as of now, disk image size needs to be specified, e.g.:

  $ virsh vol-create-as default base.qcow2 1G \
      --format qcow2 \
      --backing-vol overlay.qcow2 --backing-vol-format qcow2


Libvirt should be taught to not *require* to a size.


[*] http://www.redhat.com/archives/libvir-list/2014-October/msg00239.html

Comment 1 Shanzhi Yu 2014-10-08 09:21:45 UTC
There is already a bug 1104862 track this issues

*** This bug has been marked as a duplicate of bug 1104862 ***


Note You need to log in before you can comment on or make changes to this bug.